Benbase

Errors

HTTP status codes, error responses, and authentication errors.

Errors

HTTP Status Codes

StatusMeaning
200Success
400Bad request — invalid payload or missing required fields
401Unauthorized — missing or invalid API key
404Not found — resource does not exist
422Unprocessable — validation failed
500Server error

Error Response Format

{
  "error": "<error-message>",
  "details": {}
}

Authentication Errors

ScenarioExpected behavior
Missing Authorization header401 Unauthorized
Invalid API key401 Unauthorized

Webhook Retry Policy

Webhooks are delivered via Svix. If your endpoint does not return a 2xx response within 15 seconds, Svix will retry delivery. See the Svix retry documentation for the full retry schedule.