← Back to Docs

Error Reference

All API error codes with explanations and resolution steps.

Authentication Errors

401

UNAUTHORIZED

No API key provided or the API key is invalid.

{ "error": { "code": "UNAUTHORIZED", "message": "Missing or invalid API key" } }
Fix:

Include a valid API key in the X-API-Key header. You can create keys at /dashboard/keys.

403

FORBIDDEN

Your API key is valid but you don't have permission for this action.

{ "error": { "code": "FORBIDDEN", "message": "Feature not available on your plan" } }
Fix:

Upgrade your plan to access this feature. Check /dashboard/billing for available plans.

403

SUBSCRIPTION_REQUIRED

You need an active subscription to use scrape endpoints.

{ "error": { "code": "SUBSCRIPTION_REQUIRED", "message": "Active subscription required" } }
Fix:

Subscribe to a plan at /dashboard/billing to start scraping.

Validation Errors

400

BAD_REQUEST

The request body is missing required fields or has invalid values.

{ "error": { "code": "BAD_REQUEST", "message": "Target is required" } }
Fix:

Check the API docs for required fields. Ensure all parameters have valid formats.

422

VALIDATION_ERROR

The input fails validation (e.g., invalid URL format, username too long).

{ "error": { "code": "VALIDATION_ERROR", "message": "Invalid Instagram username format" } }
Fix:

Verify the input matches the expected format for the scrape type.

Rate Limiting

429

RATE_LIMITED

You've exceeded your monthly credit limit.

{ "error": { "code": "RATE_LIMITED", "message": "Monthly credit limit exceeded" } }
Fix:

Wait for your billing cycle to reset, or upgrade to a higher plan for more credits.

Server Errors

500

INTERNAL_ERROR

An unexpected server error occurred.

{ "error": { "code": "INTERNAL_ERROR", "message": "Internal server error" } }
Fix:

Retry the request. If it persists, contact support.

502

BAD_GATEWAY

The scraping worker is temporarily unavailable.

{ "error": { "code": "BAD_GATEWAY", "message": "Worker unavailable" } }
Fix:

Wait a moment and retry. The worker service may be restarting.

503

SERVICE_UNAVAILABLE

The service is temporarily overloaded or under maintenance.

{ "error": { "code": "SERVICE_UNAVAILABLE", "message": "Service temporarily unavailable" } }
Fix:

Wait and retry with exponential backoff. Check /status for service health.