Common Status Codes
400 Bad Request: malformed or invalid payload.
-
401 Unauthorized: missing/invalid API key or credentials.
429 Too Many Requests: starter-tier quota reached.
-
500 Internal Server Error: unexpected server/database issue.
502 Bad Gateway: backend tool execution failed.
Example Error
{
"error": "Invalid API key"
}
Troubleshooting Checklist
- Verify endpoint path and method.
- Check JSON body shape and field names.
- Confirm
X-API-Key header is present and current.
- Inspect response status before parsing body assumptions.