Skip to main content

Response Structure

All API responses follow this structure:
  • code: 0 = Success
  • code > 0 = Error

Error Codes


Error Response Examples

Authentication Error

Insufficient Credits

Parameter Error

Rate Limit Error


Best Practices

Check Response Code

Always verify the code field before processing data

Handle Errors

Implement proper error handling for all error codes

Log Errors

Record error details with timestamps for debugging

Retry Logic

Implement retry for system errors (50000) and rate limits (429)

Need Help?

Contact support@jogg.ai with:
  • Error code and message
  • Request parameters
  • Timestamp
  • API endpoint
Include your user ID (not your API key) when contacting support.