Skip to main content

Error Response Structure

All API errors follow a consistent JSON structure with detailed information to help you debug issues. Here is a sample error response:

Response Fields

Field Definitions

Pro Tip: The requestId is your golden ticket for support - it’s like a fingerprint for your specific API call!
Always include the requestId when contacting support - it helps us quickly locate your specific request in our logs.
The code field is our internal error classification system. Use this along with the HTTP status code to programmatically handle different error scenarios.

Quick Reference

Most Common

Missing API Key (4030)Add X-API-Key header to your request

Format Issue

Invalid Format (4100)API key must be exactly 32 alphanumeric characters

Not Found

API Key Not Found (4101)Double-check your API key is correct

Permissions

Insufficient Permissions (4300)Contact support for permission updates

Complete Error Reference

Authentication Errors

[4030] - Missing API Key

Add the X-API-Key header with your API key to all requests.
Verify API Key format requirements - API keys are case-sensitive and must be exactly 32 characters long (A-Z, a-z, 0-9)
Verify your API key is correct or generate a new API key from the dashboard.
Generate a new API key from your dashboard.
Pro Tip: Set up API key rotation reminders to avoid service interruptions
Account Issue: This usually indicates a billing or compliance concern. Contact support immediately.

Authorization Errors

[4300] - Insufficient Permissions

Permission Levels: Different endpoints require different permission levels. Check the specific endpoint documentation for required permissions.
Common Cause: This often happens when using a read-only API key for write operations (POST, PATCH, DELETE)

HTTP Status Code Reference

Success Codes (2xx)

2xx responses indicate successful requests. Your API call worked as expected and you can proceed with the response data.
4xx errors mean there’s an issue with your request. Double-check your API key, request format, and permissions.
5xx errors are on us! If you see these consistently, please contact support with your requestId.

Getting Help

Contact Support

When contacting support, please include:
Request ID from the error response
Endpoint you were trying to access
Error response details available
Timestamp when the error occurred