This article will help you understand the most common API errors that may be encountered when utilizing Odin AI’s cloud platform. You will find details on the various HTTP status codes and specific error codes, providing you with essential troubleshooting steps to resolve these issues effectively. By understanding the error response format and the common pitfalls associated with API usage, you will be better equipped to handle errors and enhance your development experience.Documentation Index
Fetch the complete documentation index at: https://learn.getodin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Error Response Format
All API errors follow a consistent format:error_id: Unique identifier for tracking the errorinvalid_fields: List of fields that failed validation (for validation errors)
HTTP Status Codes
400 Bad Request
Client-side errors due to invalid input or malformed requests.VALIDATION_ERROR
VALIDATION_ERROR
Error Code: Troubleshooting:
VALIDATION_ERROR
Status Code: 400Description: Request validation failed. One or more fields in the request are invalid.Common Causes:- Missing required fields
- Invalid field format (e.g., invalid email, date format)
- Field values outside allowed range
- Invalid data types
- Review the
invalid_fieldsarray to identify problematic fields - Check field requirements in the API documentation
- Verify data types match expected formats
- Ensure all required fields are provided
INVALID_API_KEY
INVALID_API_KEY
Error Code:
Status Code:
INVALID_API_KEYStatus Code:
400Description: The provided API key is invalid or malformed.Troubleshooting:- Verify the API key is correctly copied (no extra spaces)
- Check if the API key is active in My Account > API Keys
- Ensure you’re using the correct API key for your environment
- Regenerate the API key if necessary
INVALID_CREDENTIALS
INVALID_CREDENTIALS
Error Code:
Status Code:
INVALID_CREDENTIALSStatus Code:
400Description: Authentication credentials are invalid.Troubleshooting:- Verify email and password are correct
- Check if account is locked or disabled
- Try resetting your password
- Ensure you’re using the correct authentication method
INVALID_OR_EXPIRED_JWT_TOKEN
INVALID_OR_EXPIRED_JWT_TOKEN
Error Code:
Status Code:
INVALID_OR_EXPIRED_JWT_TOKENStatus Code:
400Description: The JWT token is invalid, expired, or malformed.Troubleshooting:- Refresh your authentication token
- Log out and log back in
- Check token expiration time
- Verify token is being sent in the correct header format
401 Unauthorized
Authentication required or authentication failed.AUTHENTICATION
AUTHENTICATION
Error Code:
Status Code:
AUTHENTICATIONStatus Code:
401Description: Authentication is required to access this resource.Troubleshooting:- Ensure you’re logged in
- Check if your session has expired
- Verify authentication headers are included in the request
- Re-authenticate if necessary
INVALID_BEARER_TOKEN
INVALID_BEARER_TOKEN
Error Code:
Status Code:
INVALID_BEARER_TOKENStatus Code:
401Description: The Bearer token provided is invalid.Troubleshooting:- Verify the token format:
Bearer <token> - Check if the token has expired
- Regenerate authentication token
- Ensure token is not revoked
EMAIL_IS_NOT_VERIFIED
EMAIL_IS_NOT_VERIFIED
Error Code:
Status Code:
EMAIL_IS_NOT_VERIFIEDStatus Code:
401Description: Email address has not been verified.Troubleshooting:- Check your email for verification link
- Request a new verification email
- Verify email address is correct
- Check spam/junk folder
403 Forbidden
Access denied due to insufficient permissions.AUTHORIZATION
AUTHORIZATION
PERMISSION_DENIED
PERMISSION_DENIED
Error Code:
Status Code:
PERMISSION_DENIEDStatus Code:
403Description: Permission denied for the requested operation.Troubleshooting:- Review your user role and permissions
- Check project/team access settings
- Verify resource ownership
- Contact administrator for access
DOMAIN_NOT_ALLOWED
DOMAIN_NOT_ALLOWED
Error Code:
Status Code:
DOMAIN_NOT_ALLOWEDStatus Code:
403Description: Your email domain is not allowed for this operation.Troubleshooting:- Verify your email domain is whitelisted
- Contact administrator to add your domain
- Use an allowed email address
404 Not Found
Requested resource does not exist.ENTITY_NOT_FOUND
ENTITY_NOT_FOUND
Error Code:
Status Code:
ENTITY_NOT_FOUNDStatus Code:
404Description: The requested resource was not found.Common Scenarios:- Project not found
- Agent not found
- Document not found
- User not found
- Verify the resource ID is correct
- Check if the resource was deleted
- Ensure you have access to the resource
- Verify you’re using the correct project/workspace
FILE_NOT_FOUND
FILE_NOT_FOUND
Error Code:
Status Code:
FILE_NOT_FOUNDStatus Code:
404Description: The requested file does not exist.Troubleshooting:- Verify the file ID or path is correct
- Check if the file was deleted
- Ensure the file is in the expected location
- Verify file permissions
FLOW_NOT_FOUND
FLOW_NOT_FOUND
Error Code:
Status Code:
FLOW_NOT_FOUNDStatus Code:
404Description: The requested workflow/flow was not found.Troubleshooting:- Verify the flow ID is correct
- Check if the flow was deleted
- Ensure you have access to the flow
- Verify the flow exists in the current project
CONFIG_NOT_FOUND
CONFIG_NOT_FOUND
Error Code:
Status Code:
CONFIG_NOT_FOUNDStatus Code:
404Description: Required configuration was not found.Troubleshooting:- Verify configuration exists
- Check configuration setup in settings
- Ensure required services are configured
- Review configuration documentation
500 Internal Server Error
Server-side errors that require investigation.ENGINE_OPERATION_FAILURE
ENGINE_OPERATION_FAILURE
Error Code:
Status Code:
ENGINE_OPERATION_FAILUREStatus Code:
500Description: An internal engine operation failed.Troubleshooting:- Retry the request after a few moments
- Check system status at
status.getodin.ai - If persistent, contact support with error details
- Provide error ID if available
EXTERNAL_SERVICE
EXTERNAL_SERVICE
Error Code:
Status Code:
EXTERNAL_SERVICEStatus Code:
500Description: An external service required for this operation failed.Common Scenarios:- LLM provider API failure
- Third-party integration failure (Google Drive, Slack, etc.)
- External API timeout
- Check external service status
- Verify API keys/credentials for external services
- Retry the request
- Check integration configuration
- Contact support if issue persists
INFRASTRUCTURE
INFRASTRUCTURE
Error Code:
Status Code:
INFRASTRUCTUREStatus Code:
500Description: Infrastructure error (database, storage, etc.).Troubleshooting:- Retry the request
- Check system status
- If persistent, contact support
- Provide error details and timestamp
OPEN_AI_FAILED
OPEN_AI_FAILED
Error Code:
Status Code:
OPEN_AI_FAILEDStatus Code:
500Description: OpenAI API call failed.Troubleshooting:- Check OpenAI service status
- Verify API key is valid and has credits
- Check rate limits
- Retry with exponential backoff
- Verify model availability
503 Service Unavailable
Service temporarily unavailable.EXECUTION_TIMEOUT
EXECUTION_TIMEOUT
Error Code:
Status Code:
EXECUTION_TIMEOUTStatus Code:
503Description: Operation timed out.Troubleshooting:- Retry the request
- Simplify the operation if possible
- Check if system is under heavy load
- Break down large operations into smaller ones
- Contact support if timeout persists
Business Logic Errors
QUOTA_EXCEEDED
QUOTA_EXCEEDED
Error Code:
Status Code:
QUOTA_EXCEEDEDStatus Code:
400 or 429Description: You have exceeded your quota limit.Troubleshooting:- Check your current usage in My Account > Dashboard
- Review subscription limits
- Upgrade your plan if needed
- Wait for quota reset period
- Contact sales for quota increase
FEATURE_DISABLED
FEATURE_DISABLED
Error Code:
Status Code:
FEATURE_DISABLEDStatus Code:
400Description: This feature is disabled for your account.Troubleshooting:- Check your subscription plan
- Verify feature availability
- Upgrade plan if feature requires higher tier
- Contact support for feature access
FLOW_IN_USE
FLOW_IN_USE
Error Code:
Status Code:
FLOW_IN_USEStatus Code:
400Description: The workflow is currently in use and cannot be modified.Troubleshooting:- Wait for active executions to complete
- Cancel active workflow runs
- Check workflow execution status
- Retry after executions complete
EXISTING_USER
EXISTING_USER
Error Code:
Status Code:
EXISTING_USERStatus Code:
400Description: User with this email already exists.Troubleshooting:- Try logging in instead of signing up
- Use password reset if you forgot credentials
- Use a different email address
- Contact support if account recovery is needed
Integration-Specific Errors
INVALID_APP_CONNECTION
INVALID_APP_CONNECTION
Error Code:
Status Code:
INVALID_APP_CONNECTIONStatus Code:
400Description: Invalid or expired app connection (OAuth integration).Troubleshooting:- Re-authenticate the integration
- Check OAuth token expiration
- Verify integration credentials
- Reconnect the integration in settings
INVALID_SAML_RESPONSE
INVALID_SAML_RESPONSE
Error Code:
Status Code:
INVALID_SAML_RESPONSEStatus Code:
400Description: Invalid SAML response from SSO provider.Troubleshooting:- Verify SSO configuration
- Check SAML metadata URL
- Ensure SSO provider is accessible
- Contact support for SSO configuration review
RATE_LIMITED
RATE_LIMITED
Error Code:
Status Code:
RATE_LIMITED or ratelimitedStatus Code:
429Description: API rate limit exceeded.Troubleshooting:- Wait for rate limit window to reset
- Implement exponential backoff
- Reduce request frequency
- Check rate limit headers in response
- Upgrade plan for higher rate limits
Getting Help
If you encounter an error that’s not listed here or need assistance:- Check Error Details: Note the error code, message, and error_id
- Check System Status: Visit
status.getodin.aifor known issues - Review Documentation: Check relevant API documentation
- Contact Support: Email Support with:
- Error code and message
- Error ID (if available)
- Steps to reproduce
- Request/response details (sanitized)
- Timestamp of the error

