Black Friday: Pro half price, bonus credits on Max. Through Mon: 50% off Pro, bonus credits on Max
DocsMaple Proxy

Troubleshooting

Resolve Maple Proxy connection, key, quota, model, browser and timeout problems using local checks, HTTP status codes and actionable error details.

Check the connection

Run curl http://127.0.0.1:8080/health, replacing 8080 with the port shown in your app or proxy configuration. This checks only the local listener, not your key, the Maple connection or successful inference.

  • Maple Work: open Settings → Local API on the computer running your client. Enable it, or select Resume if paused. Selecting a remote computer does not move this endpoint there. If the port is occupied, choose an unused port while stopped; another proxy may already own it. Quitting Maple or signing out stops the listener.
  • Maple Research: open Settings → API & credits → Local Proxy and select Start proxy. Keep Research open. If creating its saved proxy credential fails, check API-key access under API & credits → API Keys.
  • Docker or binary: start the proxy, check the listen address and publish Docker’s port on loopback. Only one listener can own a port.

The first inference request can take longer while the proxy verifies Maple’s enclave. In Work, every /v1/ request must include your real Maple API key; the signed-in desktop session does not authenticate your client.

Read the error

Inspect the HTTP status and error.code or x-opensecret-error-code when present. Some HTTP rejections have no JSON body.

Status / detailWhat to do
401Supply a real, unrevoked key. Remove placeholder keys. Work always requires a caller key; Research and standalone proxies require one when CORS is on.
400, unsupported_valueCheck the exact model ID and supported thinking level.
400, context_length_exceeded or a context limit messageThe conversation no longer fits the model’s context window. Compact or shorten it, or lower max_tokens. In a coding agent, set the model’s context limit so it compacts sooner.
403, usage_limit_reached or free_tier_token_limit_exceededIn Work, check plan usage in Billing and extra credits in API keys. In Research, open API & credits.
403, model_not_available_on_planChoose an included model or change your plan.
Work 403, browser originUse a desktop application, CLI or server client. Local API does not offer browser CORS.
Research 403, browser originEnable CORS and send a real key; see browser access.
404Check the base URL and supported API routes. Responses API requests are unsupported.
413Reduce context for message_exceeds_context_limit; otherwise check the 50 MiB request-body limit.
429 / 503Check status, reduce concurrency and respect Retry-After when present.
502Check network access and automatic date/time settings; update an old proxy.
504 or a stopped streamReduce the prompt. Standalone proxies can also change request/idle timeouts.

Retries do not guarantee a request runs only once. For persistent failures, record the proxy version and error details. Enable MAPLE_DEBUG=true for standalone logs if needed; remove secrets before sharing them in a support issue.

Last updated