PacerError
An error from /dockets/get or /filings/get. Branch on code; message is written for people.
- codeType: stringrequired
invalid_request(400)unauthorized(401)pacer_balance_insufficient(402)pacer_not_enabled,filing_restricted(403)docket_not_found,filing_not_found,no_document(404)ambiguous_docket,ambiguous_filing(409)unsupported_court(422)too_many_requests(429)internal_error(500)pacer_unavailable(502)service_unavailable(503)
- errorType: stringrequired
The HTTP status, in words
- balanceType: integer
_cents Only with
pacer_balance_insufficient. Your balance, in cents. - candidatesType: array of objectProperties: 3
Only with
ambiguous_docket. Send the request again with one candidate'scase_id, or itscase_nameasdocket.case_name. - costType:Properties: 3
What the request cost. A failed filing request can still carry a charge for a docket successfully fetched before it failed.
- issuesType: objectProperties: 2
Only on some
400answers. What's wrong with the request. - messageType: string
What happened
- neededType: integer
_cents Only with
pacer_balance_insufficient. The purchase hold required, in cents; the final charge can be lower.