Error Response Format
When an error occurs, the API returns a JSON response with anerror object containing a code and message:
Error Codes
Handling Errors
Invalid API Key (401)
- The API key is missing from the request
- The API key format is incorrect
- The API key has been revoked or deleted
x-api-key header.
Forbidden (403)
- Your user account doesn’t have permission to access this resource
- You are not on the access list of the track, quiz or survey, or your role on it doesn’t allow the action (workspace roles grant nothing on an item)
Not Found (404)
- The resource ID is incorrect
- The resource has been deleted
- You don’t have access to view this resource
Rate Limited (429)
- You’ve exceeded 1,000 requests per hour
Internal Error (500)
- An unexpected error on our servers