> For the complete documentation index, see [llms.txt](https://manual.formwise.ai/formwise/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.formwise.ai/formwise/support/troubleshooting/error-500-troubleshooting.md).

# 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](https://manual.formwise.ai/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](https://manual.formwise.ai/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](https://manual.formwise.ai/formwise/core-tools/copilots/using-backend-data-sources-in-copilots.md)
{% endcontent-ref %}

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