# Error 500 Troubleshooting

A 500 error is an OpenAI error and means one of two things:

* Your OpenAI API account has reached its limit and needs a valid form of payment or credits added. You can check your account [here](https://platform.openai.com/settings/organization/billing/overview).
* Your tool's prompt + response has exceeded the maximum tokens of the model powering your tool. Try using a longer context engine like GPT-4o or reducing the amount of text in your prompt.

{% hint style="info" %}
Upon receiving an error we will send you an email with the full error. Check your email to see the specific reason for receiving this error.
{% endhint %}

Related:

{% content-ref url="/pages/LzuOHnsadVpPDFQFFHbr" %}
[Using Front-End File Uploads in CoPilots](/formwise/core-tools/copilots/using-front-end-file-uploads-in-copilots.md)
{% endcontent-ref %}

{% content-ref url="/pages/pge3L1ffDimc6Nc0qL9P" %}
[Using Front-End File Uploads in SmartForms](/formwise/core-tools/smartforms/using-front-end-file-uploads-in-smartforms.md)
{% endcontent-ref %}

{% content-ref url="/pages/y07Lo5eFWFxYCkv7IaMN" %}
[Using Backend Data Sources in CoPilots](/formwise/core-tools/copilots/using-backend-data-sources-in-copilots.md)
{% endcontent-ref %}

{% content-ref url="/pages/qmJ93yJZwI6bcgG0wG56" %}
[Using Backend Data Sources in SmartForms](/formwise/core-tools/smartforms/using-backend-data-sources-in-smartforms.md)
{% endcontent-ref %}


---

# 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://manual.formwise.ai/formwise/support/troubleshooting/error-500-troubleshooting.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.
