Skip to content
Search documentation/

Invalid request

invalid_requestHTTP 400Don't retry

What happened

The request was refused as sent. Nothing was created and no money moved.

What to do next

Fix the request as the detail and any field errors describe, then send it.

Can you retry?

Don't retry. Don't repeat this request. Fix what the response describes, or stop and report it. retry: never

Who acts

You: the software that sent the request. who_acts: caller

Don't

  • Don't send the same request again unchanged; it will be refused the same way. repeat_unchanged

Example response

Sent as application/problem+json. The detail describes the particular request; keep request_id for support.

{
  "type": "https://docs.perionpayments.com/problems/invalid-request",
  "title": "Invalid request",
  "status": 400,
  "code": "invalid_request",
  "detail": "The request was refused as sent. Nothing was created and no money moved.",
  "request_id": "req_8YkQ2rL0ZtW4",
  "retryable": false,
  "retry": "never",
  "who_acts": "caller",
  "next_step": "Fix the request as the detail and any field errors describe, then send it.",
  "do_not": [
    "repeat_unchanged"
  ]
}

All problem codes · Reading problem responses