Ask AI Errors Reference
This is a reference to error codes and their definitions that can be returned from the Ask AI Chat.
General API errorsβ
UNAUTHORIZEDβ
There was an issue validating the auth token for the request.
FORBIDDENβ
Access to a resource is not available or not allowed for the requester.
Solution: Make sure that your domain is whitelisted and that you are using the correct
assistantId
.
BAD_INPUTβ
The request included data that could either not be used to find a resource, or the data was malformed.
TOO_MANY_ATTEMPTSβ
There have been too many requests made within a designated window. The requests are being rate limited.
Solution: Wait for the rate limit window to pass and then try again.
Ask AI chat errorsβ
AI_STREAM_ERRORβ
A general case error that occurred while communicating with the upstream provider. This could include stream processing issues, data corruption, or issues with the provider itself.
AI_API_CALLβ
There was an issue specifically with communicating with the upstream provider.
Solution: Check the provider's API status page(s) to see if they are experiencing any ongoing issues.
AI_INVALID_API_KEYβ
The upstream provider reported that there was an issue with the supplied API key.
Solution: Make sure to double-check that you are using the correct API key for your assistant; and that it has the correct permissions.
AI_INSUFFICIENT_BALANCEβ
The upstream provider could not process the chat request due to a billing issue.
Solution: You will need to log in to your providerβs dashboard to remedy this issue.
AI_NO_TOOLβ
Ask AI could not call a specific tool.
Solution: Be sure not to ask for any specific tool calls within your custom prompt. Ask AI has specific tools it uses to give the best results.
AI_RETRYβ
There were too many failed attempts at communicating with the upstream provider. This could be an issue on the provider's end, an issue with the supplied API key or an underlying network issue causing these retries.