Errors, retries and failed jobs

What each HDRflow API error means, how to retry safely, and how to re-run a failed job without uploading again.

The API uses standard HTTP status codes. Error responses carry a JSON body with a detail field that explains the problem in plain words.

json
{ "detail": "Listing not found" }

Status codes

StatusMeaningWhat to do
401The API key is missing, invalid or revoked.Check the Authorization header and that the key is still active.
402The account has no credits left, or an unpaid balance blocks this action.Top up, or contact us if you are billed by agreement.
403This endpoint is not available with an API key.Use only the endpoints in the API reference.
404The listing, job or photo doesn't exist or belongs to another account.Check the ID.
409The action doesn't fit the current state, for example confirming a job twice or retrying a job that hasn't failed.Re-check the status. Often the action is already done.
422The request body is malformed.Fix the fields named in detail.
5xxA temporary problem on our side.Retry with backoff.

Retrying requests

  • Retry only 5xx responses and network errors. A 4xx won't succeed on its own.
  • Start at about 5 seconds and double the wait each time, with a little random jitter.
  • Creating a job is not idempotent. If that request times out, list the listing's jobs before creating another one.

Failed jobs

If a job ends as failed, run it again with the files you already uploaded:

bash
curl -X POST "https://api.hdrflow.com/jobs/JOB_ID/retry-failed" \
  -H "Authorization: Bearer $HDRFLOW_API_KEY"

This puts the same job back in the queue, with no new listing, job or upload needed. It only works while the job's status is failed. Otherwise it returns 409.

Getting help

Email support@hdrflow.com with your account email and the job_id values involved. Never send your API key or webhook secret to support.