You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a reference to error codes and their definitions that can be returned from the Ask AI Chat.
6
+
7
+
## General API errors
8
+
9
+
---
10
+
11
+
### UNAUTHORIZED
12
+
13
+
There was an issue validating the auth token for the request.
14
+
15
+
### FORBIDDEN
16
+
17
+
Access to a resources is not available or not allowed for the requester.
18
+
19
+
> **Solution:** Make sure that your domain is [white listed](/docs/v4/askai-whitelisted-domains) and that you are using the correct `assistantId`.
20
+
21
+
### BAD_INPUT
22
+
23
+
The request included data that could either not be used to find a resource, or the data was malformed.
24
+
25
+
### TOO_MANY_ATTEMPTS
26
+
27
+
There have been too many requets made within a designated window. The requests are being rate limitted.
28
+
29
+
> **Solution:** Wait a bit of time for the rate limit window to pass and then try again.
30
+
31
+
## Ask AI chat errors
32
+
33
+
---
34
+
35
+
### AI_STREAM_ERROR
36
+
37
+
A general case error that occured while from communicating with the upstream provider. This could include stream procesing issues, data corruption, issues with the provider itself and so on.
38
+
39
+
### AI_API_CALL
40
+
41
+
There was an issue specifically with communicating with the upstream provider.
42
+
43
+
> **Solution:** Check the provider's API status pages(s) to see if they are experiencing any ongoing issues.
44
+
45
+
### AI_INVALID_API_KEY
46
+
47
+
The upstream provider reported that there was an issue with the supplied API key.
48
+
49
+
> **Solution:** Make sure to double check that you are using the correct API key for your assistant; and that it has the correct permissions.
50
+
51
+
### AI_INSUFFICIENT_BALANCE
52
+
53
+
The upstream provider could not process the chat request to due a billing issue.
54
+
55
+
> **Solution:** You will need to log into to your provider's dashboard to remedy this issue.
56
+
57
+
### AI_NO_TOOL
58
+
59
+
Ask AI could not call a specific tool.
60
+
61
+
> **Solution:** Be sure to not ask for any specific tool calls within your custom prompt. Ask AI has specific tools it uses to give the best results.
62
+
63
+
### AI_RETRY
64
+
65
+
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.
0 commit comments