Skip to main content

invalid_request

Status
400 Invalid request
Code
invalid_request
Retry?
No

Well-formed, but not allowed as asked. The request is valid JSON with the right fields, but what it asks for doesn't make sense here: for example, putting a SIM on a pool tariff directly (pool tariffs are used through a pool), or naming both a pool and a tariff.

Common causes​

  • PUT /sims/{id}/plan with both poolId and tariffId, or neither.
  • Using a tariff of the wrong kind: a standard tariff for a pool, or a pool tariff for a single SIM.
  • An SMS with no text.

What to do​

Read detail: it says what to change. Retrying unchanged won't help.

Example​

{
"type": "https://developer.zentarinetworks.com/axis/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"detail": "Choose either a pool or a tariff.",
"code": "invalid_request",
"traceId": "0HN7Q2KJ1V3F4:00000002"
}

All error codes