# Error Codes

## HTTP Status Codes

The sFOX API communicates error codes through HTTP status codes.&#x20;

<table><thead><tr><th width="102.50390625" align="center">Code</th><th>Response</th><th>Description</th></tr></thead><tbody><tr><td align="center"><code>400</code></td><td><code>Bad Request</code></td><td>Your request was malformed in some way.</td></tr><tr><td align="center"><code>401</code></td><td><code>Unauthorized</code></td><td>Missing or incorrect API key.</td></tr><tr><td align="center"><code>403</code></td><td><code>Forbidden</code></td><td>The API key is not authorized for this endpoint.</td></tr><tr><td align="center"><code>404</code></td><td><code>Not Found</code></td><td>The specified endpoint could not be found.</td></tr><tr><td align="center"><code>405</code></td><td><code>Method Not Allowed</code></td><td>You attempted to access an endpoint with an invalid method.</td></tr><tr><td align="center"><code>406</code></td><td><code>Not Acceptable</code></td><td>You requested a format that isn’t json.</td></tr><tr><td align="center"><code>429</code></td><td><code>Too Many Requests</code></td><td>You have exceeded your request limit and have been rate limited. <a href="https://docs.sfox.com/rest-api/rate-limits">Rate limiting details here</a>.</td></tr><tr><td align="center"><code>500</code></td><td><code>Internal Server Error</code></td><td>We had a problem with our server. Try again later.</td></tr><tr><td align="center"><code>503</code></td><td><code>Service Unavailable</code></td><td>We are temporarily offline for maintenance. Please try again later.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sfox.com/connect/errors/error-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
