Error code |
Error message(s) |
Likely causes |
Resolution |
---|---|---|---|
400 Bad Request |
|
|
Ensure that your input (the prompt and the expected output) remains within the model’s maximum token and payload limits. If you're working with large inputs, break them into smaller, sequential requests. Additionally, confirm that all required fields and values are correctly filled in before sending the request. |
401 Unauthorized |
|
The authentication token or API key is missing or invalid. Ensure you have provided the correct credentials. |
Verify your API credentials to ensure they are correct and included in the request header. If necessary, re-authenticate and confirm that your token or API key has the appropriate permissions for the request. |
403 Forbidden |
|
|
Ensure you're using a valid Celigo token with the required permissions. If AI features are not enabled for your account, reach out to your administrator or Celigo Support to request access. Additionally, review your prompt content to ensure it aligns with OpenAI’s safety guidelines. |
404 Not Found |
|
The specified resource (such as user, table, operation, or ID) was not found or does not exist. |
Make sure the resource ID, name, or reference is correct. Confirm that the resource exists in the intended environment and is accessible through the API. |
413 Payload Too Large |
|
The request body exceeds the maximum size limit allowed by the API. |
If you're sending a large payload, consider reducing the data volume by splitting it into smaller requests that are within the API's size limits. |
422 Unprocessable Entity |
|
|
Ensure the JSON structure is correctly formatted and the prompt is well-structured. Also, confirm that all necessary metadata and connections are available. If needed, reconnect or refresh your environment and try again. |
429 Too Many Requests |
|
API request rate limits exceeded (minutes or per day). |
If you’ve hit a rate limit, wait a few moments before retrying. To avoid repeated issues, reduce request frequency or use exponential backoff and retry logic. |
503 Service Unavailable |
|
|
In case of a temporary outage or overload, wait a few minutes and try the request again. Monitor the service status, and consider setting up automatic retries with a delay to handle intermittent issues. |
504 Gateway Timeout |
|
|
Simplify the input or split it into smaller parts that are easier to process, then wait a few minutes and try again. |
Articles in this section
- Understand the knowledge bot
- Understand AI descriptions for a flow, import, or export
- Auto-map destination fields using Celigo AI
- Auto-transform output fields using Celigo AI
- Retrieve flow steps from existing integrations or Marketplace using a prompt
- Create or explain handlebars using Celigo AI component
- Create or explain JavaScript using Celigo AI component
- Troubleshoot Celigo AI errors
- Create or explain filter rules using the Celigo AI component
- Disable Celigo AI chatbot