# Error Handling

## Error Responses

All errors will contain the following information:

* Status: the HTTP status code.
* Title: a human-readable short description, it may not be unique.
* Detail: a human-readable description of the error, it will be unique.
* Code: a code to identify the specific error.\
  Provide this code when asking for support.

## 4xx Errors - Client Errors

<table><thead><tr><th width="130">HTTP Status</th><th>Possible Reasons</th></tr></thead><tbody><tr><td>400</td><td><ul><li>A required request parameter is missing.</li></ul></td></tr><tr><td>401</td><td><ul><li>Invalid API key. Make sure the key starts with <code>md_</code> and is <a href="/pages/xn2Lxhj8hX0u9RQWsaiS">active</a>.</li><li>Make sure you are calling the V2 API, your code should match <a href="/pages/qlViJTXZGr9z6S46KVSt">the samples</a>.</li></ul></td></tr><tr><td>402</td><td><ul><li>An optional feature is not in your plan.</li><li>Your subscription is either not active or exceeded limits.</li></ul></td></tr><tr><td>403</td><td><ul><li>You don't have access to the requested resource.</li></ul></td></tr><tr><td>404</td><td><ul><li>The requested resource does not exist.</li><li>The requested resource is not ready for use (usually a processing result).</li></ul></td></tr><tr><td>422</td><td><ul><li>Wrong format for a UUID.</li><li>Invalid or empty file sent.</li><li>Invalid parameter sent in a request.</li></ul></td></tr><tr><td>429</td><td><ul><li>Too many requests. Wait a few seconds and try again.<br>See the <a data-mention href="/pages/ikMUZj4uegWUNgcJJPD3#rate-limits">/pages/ikMUZj4uegWUNgcJJPD3#rate-limits</a> section for more information.</li></ul></td></tr></tbody></table>

## 5xx Errors - Server Errors

<table><thead><tr><th width="130">HTTP Status</th><th>Possible Reasons</th></tr></thead><tbody><tr><td>500</td><td><ul><li>Failed to run the inference.</li><li>Failed to process the request.</li></ul></td></tr></tbody></table>

### Mindee Status

Check to make sure that the API is fully operational.

<https://status.mindee.com/>


---

# 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.mindee.com/integrations/problem-database.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.
