Skip to main content
GET
/
dca
/
jobs
/
{job_id}
/
hp_errors
Get errors for an job
curl --request GET \
  --url https://api.brightdata.com/dca/jobs/{job_id}/hp_errors \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "url": "www.youtube.com/watch?v=GBaFv4O5H7g",
      "error": "aborted",
      "consumer": "dca-hp-so-szakh"
    },
    {
      "url": "www.youtube.com/watch?v=dVSRDWxlWBg",
      "error": "aborted",
      "consumer": "dca-hp-so-sz5zu"
    },
    {
      "url": "www.youtube.com/watch?v=1YrOL8ZqR4Q",
      "error": "aborted",
      "consumer": "dca-hp-so-sz6ga"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve per-input error details for a Bright Data Scraper Studio batch job. Use this endpoint to identify which inputs in a batch failed, what the error code was and how to remediate.
Per the OpenAPI spec, the job_id for this endpoint is the one returned by the /dca/trigger_hp (high-priority) endpoint. Jobs created via the regular /dca/trigger endpoint may use a different error-retrieval path. If the response is empty for a regular trigger job, contact Bright Data support to confirm the right endpoint for your workflow.

Request

curl "https://api.brightdata.com/dca/jobs/$JOB_ID/hp_errors" \
  -H "Authorization: Bearer $BRIGHT_DATA_API_TOKEN"

Query parameters

NameTypeRequiredDescription
skip_normalizebooleanNoWhen true, returns full non-normalized error details. Default returns normalized errors.

Errors

StatusCauseFix
400 Bad RequestInvalid job ID formatVerify the job ID matches the j_ prefix returned by the trigger endpoint
404 Not FoundJob does not exist or your account does not have accessConfirm the job ID is current and from a job you triggered
500Internal server errorRetry with exponential backoff, for example 1s, 2s, 4s

When to use this endpoint

  • Build a re-trigger workflow that retries only the failed inputs from a previous batch
  • Surface user-actionable error messages in a UI or admin console
  • Track failure trends over time (which collectors fail most often, which input shapes cause 422s)

Authorizations

Authorization
string
header
required

Use your Bright Data API Key as a Bearer token in the Authorization header.

How to authenticate:

  1. Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
  2. Include the API Key in the Authorization header of your requests
  3. Format: Authorization: Bearer YOUR_API_KEY

Example:

Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df

Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication

Path Parameters

job_id
string
required

Job ID returned from the /trigger_hp endpoint

Query Parameters

skip_normalize
boolean

Return full (non-normalized) error details

Response

List of errors for the specified job

errors
object[]