Skip to main content
The lobstr.io API uses standard HTTP status codes. All error responses include a detail field with a human-readable message.

HTTP status codes


Authentication errors (401)

Make sure your Authorization header is formatted exactly as Token YOUR_API_KEY.

Validation errors (400)

These occur when required parameters are missing or have the wrong format.

Resource not found errors (404)


Business logic errors (400)

These occur when the request is valid but the operation can’t proceed due to account state.

Run stop reasons

When a run ends, the response includes a done_reason field (slug) and done_reason_desc (human-readable message) explaining why it stopped. These are not HTTP errors — they appear in the run object returned by Get Run Details.

Account errors

These indicate a problem with the account attached to the squid. Re-sync or replace the account, then resume the run.

General stop reasons


Rate limiting (429)

Requests that exceed your plan’s rate limit return a 429 response. See Rate Limiting for limits and retry guidance.

Server errors (500)

If you encounter repeated 500 errors, contact support with the request details.

Error handling example