Skip to main content

Error Handling

All Descripio API errors return a JSON response with an error field.

Error Response Format

Additional fields may be included depending on the error type.

Common Errors

401 Unauthorized

Cause: Invalid or revoked API key
Solution:
  1. Verify your API key is correct (starts with dscr_)
  2. Check if key was revoked in the dashboard
  3. Create a new key if needed

402 Payment Required

Cause: Monthly quota exceeded
Solution:
  1. Wait for quota reset (1st of each month)
  2. Upgrade to a higher plan

403 Forbidden

Cause: Marketplace not authorized for your account
Solution:
  1. Go to Dashboard → Settings → Marketplaces
  2. Add the marketplace you’re trying to access
  3. Retry the request

429 Rate Limit Exceeded

Cause: Too many requests or concurrent jobs
Solution: Implement retry with backoff:

429 ASIN Cooldown

Cause: ASIN was refreshed recently
Solution: Wait for cooldown period to expire, or use cached data via GET /reviews.

Best Practices

1. Always check status codes

2. Implement exponential backoff

3. Set polling timeout

Never poll forever. Always set a maximum timeout:

4. Log errors for debugging

Include relevant context when logging errors:

5. Handle network errors

Support

If you encounter persistent errors: