Skip to content
  • There are no suggestions because the search field is empty.

Rate limits and errors

Stay within your rate limits and fix common error responses.

Rate limits apply per app, per minute. Reads and writes are counted separately, and each product (assets, AI, converter) has its own limit.

Rate limit headers

Every response that gets past the rate limiter carries these headers, so you can see your remaining budget before you hit the limit:

Header

What it tells you

X-RateLimit-Limit

Requests allowed in the current window

X-RateLimit-Remaining

Requests left in the window

X-RateLimit-Reset

When the window resets

Retry-After

On a 429 or 202: how many seconds to wait before trying or polling again

A 401 response has no rate limit headers, because it's refused before the limiter runs.

Two kinds of 429

data.reason

Meaning

What to do

rate_limit_exceeded

Too many requests this minute. It can also appear briefly while credits are being settled.

Wait for Retry-After, then retry. It clears within the minute.

quota_exhausted

Your credits for this billing period are used up

Waiting won't help. Turn on extra credits, upgrade, or wait for your next period (Article 8).

How to stay under your limits

  • Poll AI tasks and conversion jobs at the Retry-After interval, not every second.
  • Read X-RateLimit-Remaining and slow down before it hits zero.
  • Need higher limits? Contact support@iconscout.com or upgrade your plan.

All errors return a data.reason that tells you exactly what went wrong.

Common errors

Code

data.reason

Meaning

202

–

Accepted: an AI task or conversion job has started. Poll it.

400

invalid_request, invalid_input_file, asset_not_covered, download_unavailable

Bad request or file, or your plan doesn't cover the asset

401

invalid_credentials

Missing or wrong Client ID or Client Secret (Article 2)

402

credit_limit_reached

A download would go past your spending limit (Article 8)

403

entitlement_required

Your plan doesn't include this AI operation or conversion, or it's off for your app

404

item_not_found, format_not_available, task_not_found, job_not_found, unknown_operation

Something doesn't exist, or belongs to another app

409

idempotency_*, job_not_completed

Idempotency key already used, or the job isn't finished

410

result_expired

A conversion result was deleted after it expired

413

invalid_request

The uploaded file is too large

422

subscription_required, prompt_rejected, invalid_reference_image

No active API plan, or the AI request was refused

429

rate_limit_exceeded, quota_exhausted

See above

500–504

conversion_failed, provider_unavailable and others

A service problem. You aren't charged. Retry later.