jsonlink
DocsErrors
Getting started

Errors

Successful requests return the endpoint's JSON. Anything else returns an object with an error field.

Error shape

Account and limit errors use an HTTP error status and this shape:

401 Unauthorized
{
  "success": false,
  "error": "Invalid API Key"
}

Extraction errors — the page couldn't be loaded or processed — return an error field. Always check for it before reading the result:

Extraction error
{
  "error": "REQUEST_TIMEOUT"
}

Account and limits

StatuserrorWhat to do
400Invalid URLSend a full, URL-encoded URL with https://.
401Missing API Key. / Invalid API KeyCheck the key in your dashboard.
401Please verify your accountConfirm your email address.
401Your subscription is not active…Renew or change your plan.
429Too many requestRate limit reached. Retry later — see Rate limits.
429Credits quota exceededOut of credits — see Credits.

Extraction errors

These are never billed.

errorMeaning
REQUEST_TIMEOUTThe site didn't respond in time.
UNABLE_TO_LOAD_PAGEThe site is down, doesn't exist or blocks automated requests (Links, Images, Screenshot).
REQUEST_FAILEDThe extraction failed for another reason.
Unable to extract main contentMarkdown: the page has no readable main content.

Handling errors

  • Treat any response with an error field as a failure, whatever the HTTP status.
  • Retry REQUEST_TIMEOUT and UNABLE_TO_LOAD_PAGE once or twice — some sites are slow or block intermittently.
  • On 429, read error to tell a rate limit from an empty credit balance.