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 / detail | What to do |
|---|---|
401 | Supply 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_value | Check the exact model ID and supported thinking level. |
403, usage_limit_reached or free_tier_token_limit_exceeded | In Work, check plan usage in Billing and extra credits in API keys. In Research, open API & credits. |
403, model_not_available_on_plan | Choose an included model or change your plan. |
Work 403, browser origin | Use a desktop application, CLI or server client. Local API does not offer browser CORS. |
Research 403, browser origin | Enable CORS and send a real key; see browser access. |
404 | Check the base URL and supported API routes. Responses API requests are unsupported. |
413 | Reduce context for message_exceeds_context_limit; otherwise check the 50 MiB request-body limit. |
429 / 503 | Check status, reduce concurrency and respect Retry-After when present. |
502 | Check network access and automatic date/time settings; update an old proxy. |
504 or a stopped stream | Reduce 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.