Skip to content

parameter_invalid โ€‹

parameter_invalid

Description โ€‹

The request contains at least one parameter with an invalid value, type, or format.

HTTP Status โ€‹

400 Bad Request

doc_url Format โ€‹

The doc_url value is an absolute URL and changes by environment:

<docs-base-url>/errors/parameter_invalid

Typical Causes โ€‹

  • A field has an unsupported enum value (for example method: "CASH").
  • A field format is invalid (for example an invalid UUID or date format).
  • A field value does not satisfy schema constraints.

Example โ€‹

Request:

http
POST /v1/premium-scheduling/single-premium-requests
Content-Type: application/json

{
  "policyId": "8f68c04d-42b6-4375-bec9-1dcf0ff0f385",
  "payerId": "4b7f6518-c699-4d8f-ad6d-f8ff9bf25ed8",
  "method": "CASH",
  "amount": { "value": 100, "currency": "EUR" },
  "iban": "FR7630006000011234567890189"
}

How To Fix โ€‹

  1. Inspect the message field in the API response to identify the invalid parameter.
  2. Correct the request payload according to the endpoint schema in the API reference.
  3. Retry the request.