#The Job Error object
Why a job failed.
codeType
Stable error code, the same codeType a synchronous call would return.
message
Human-readable explanation.
Long-running operations. An endpoint that works in the background answers 202 Accepted with a job and a Location header; poll GET /v1/jobs/{id} until the status is JOB_STATUS_SUCCEEDED or JOB_STATUS_FAILED. Jobs can be read for 24 hours after they finish.
Why a job failed.
codeType
Stable error code, the same codeType a synchronous call would return.
message
Human-readable explanation.
/v1/jobs/{id}Returns the status of a long-running operation and, once it succeeded, its result. Poll this until the status is JOB_STATUS_SUCCEEDED or JOB_STATUS_FAILED. Requires the `links:read` scope.
id
The job ID returned when the job was accepted.
Everything worked as expected.
completedAt
When the job finished, once it has.
createdAt
When the job was accepted.
error
Why a job failed.
id
Job ID (UUID).
itemCount
How many items the job was submitted with.
linksBulkCreate
Result of a JOB_TYPE_LINKS_BULK_CREATE job.
status
Where a job stands.
JOB_STATUS_UNSPECIFIEDNot set.
JOB_STATUS_PENDINGAccepted and waiting to run.
JOB_STATUS_RUNNINGRunning now.
JOB_STATUS_SUCCEEDEDFinished; the result is set.
JOB_STATUS_FAILEDFinished without doing its work; error says why. Nothing was created.
statusUrl
Path to poll for this job's status.
type
What a job does.
JOB_TYPE_UNSPECIFIEDNot set.
JOB_TYPE_LINKS_BULK_CREATECreates a batch of links (POST /v1/links/bulk/jobs).
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.