Fixed

Errors now return their real status code instead of 200

Some errors on these endpoints used to be returned with status 200:

  • GET /jobs, POST /jobs and PUT /jobs/{job_id}
  • PUT /applicants/{applicant_id}, PUT /applicants/status and GET /applicants/applicant-statuses
  • PUT /applicants/{applicant_id}/interviews
  • GET /application-form-templates

They now return their real status code, such as 401, 409, 424, 429, 502, 503 or 504. A code these endpoints aren't expected to return is reported as 400 or 500.

On POST /jobs and PUT /jobs/{job_id}, errors used to return 200 with an empty job object.

Error bodies are always JSON now. The body is unchanged when it was already JSON. A body that wasn't JSON, such as an HTML page during a deployment, is replaced with:

{ "error": "Bad Gateway", "message": "The request failed with status 502." }

What you need to do. Nothing, in most cases. An integration that checks the status code now sees these errors as failures. See Errors for what each status means and which ones are worth retrying.