API ReferenceError Codes

Error Codes Admin

The Nucleus API uses standard HTTP status codes. All error responses include a JSON body with an error field.

Response Format

{
  "error": "Description of what went wrong"
}

Status Codes

CodeMeaningCommon Cause
200OKRequest succeeded
400Bad RequestMissing or invalid parameters (e.g., bad date format, missing required field)
401UnauthorizedMissing or invalid token. Re-authenticate and try again.
403ForbiddenValid token but insufficient permissions. Your role or API key does not have access to this resource.
404Not FoundThe endpoint or resource does not exist. Check the URL.
429Rate LimitedYou exceeded 1,000 requests per hour. Wait before retrying.
500Server ErrorSomething went wrong on the server. Retry after a short delay. If persistent, contact support.

Handling Errors

400 — Bad Request

Check your request parameters. Common issues:

  • Date format should be YYYY-MM-DD.
  • Required fields are missing.
  • per_page exceeds the maximum (10,000).

401 — Unauthorized

Your token is missing, malformed, or expired. If using a JWT, log in again to get a fresh token. If using an API key, verify it has not been deleted.

429 — Rate Limited

Back off and retry. The rate limit resets hourly. For bulk data extraction, use the bulk export endpoint instead of paginating through events.

500 — Server Error

Retry after 30 seconds. If the error persists for more than a few minutes, the issue is on the server side. Contact your Nucleus admin.

Include the full error response when reporting issues. The error message often contains enough detail to diagnose the problem.