Skip to main content
GET
Get batch errors

Overview

The pages of a batch that were fetched and failed, oldest first, each with an error_code, plus skipped: pages left out, by reason — for a batch, duplicate when a URL redirected onto a page the batch already had, or blocklist when a URL was added to your blocklist after you submitted. The same response as GET /crawl/{id}/errors. Free. Use the codes to decide what to resubmit: TARGET_TIMEOUT and TARGET_SERVER_ERROR often succeed on a second try, DNS_RESOLUTION_FAILED and TARGET_CLIENT_ERROR will not.

Example request

cURL

Authorizations

X-API-Key
string
header
required

Your Prefetch API key. Obtain one from the dashboard.

Path Parameters

id
string
required

The crawl id returned by POST /crawl.

Example:

"crw_9f2c1a7b4e0d4c3a8b1e5f7d2c9a0b3e"

Query Parameters

skip
integer
default:0

Number of result pages to skip. Use the next link rather than building this by hand.

Required range: x >= 0
limit
integer
default:25

Number of crawled pages to return per request.

Required range: 1 <= x <= 100

Response

Failed pages and skip reasons.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required