Back to the API reference

API problem type

Invalid request

Code
invalid_request
Type URI
https://industrydojo.com/developers/problems/invalid-request
HTTP status
400

Errors use RFC 9457 problem details (application/problem+json). Branch on the code, never on the title or detail text.

Example from the contract

Contract example 1 (original API response)
{
  "type": "https://industrydojo.com/developers/problems/invalid-request",
  "title": "Invalid request",
  "status": 400,
  "code": "invalid_request",
  "detail": "A query parameter is malformed.",
  "request_id": "req_01JBEXAMPLE400",
  "errors": [
    {
      "pointer": "/query/page_size",
      "code": "invalid_request",
      "detail": "page_size must be an integer between 1 and 100."
    }
  ]
}