Problems
In Recurring API, HTTP responses for errors follow the RFC 7807 standard.
See HTTP response codes and errors for more details about the format.
API version: 3.0.0.
Problem typesβ
The type
is the primary identifier for a problem. It is a URL to a page with more details regarding the problem.
Each problem type returned by the Recurring API starts with https://developer.vippsmobilepay.com/docs/APIs/recurring-api/recurring-api-problems#
followed by a problem identifier.
Example: https://developer.vippsmobilepay.com/docs/APIs/recurring-api/recurring-api-problems#invalid-agreement-id
Identifiersβ
validation-error
β
Missing data or inconsistencies in JSON. Please verify the request JSON body. See API specs.
invalid-agreement-id
β
Agreement ID is invalid. Please verify the agreement ID is present and in the correct format. See API specs.
invalid-json
β
JSON body is invalid. Please verify the request JSON body.
unsupported-media-type
β
Media type indicated in Content-type header is not supported. See API specs.
not-authorized
β
JWT token is invalid.
idempotency-key-header
β
Missing or invalid Idempotency key header. See API specs.
charge-amount-too-high
β
Amount set for charge is too high.
charge-due-too-soon
β
Charge date due must be a minimum of 2 days in the future. See Create a charge.
charge-due-in-too-long
β
Charge due date must be a maximum of 2 years in the future. See Create a charge.
unsupported-feature
β
Feature not supported. Please contact us.
illegal-agreement-update
β
Agreement cannot be updated. Might be stopped or pending.
invalid-suggested-max-amount
β
Suggested max amount is invalid or too high. See Recurring agreements with variable amount.
cancel-charge-failed
β
Could not cancel the charge.
charge-creation-failed
β
Could not create the charge.
charge-capture-failed
β
Could not capture the charge.
missing-request-header
β
Missing headers. See API specs.
invalid-sale-unit
β
The Sales unit is not allowed to use Recurring. See update-agreement-patch-endpoint.
resource-not-found
β
The specified resource was not found. See details for additional information.
operation-failed
β
The requested operation could not be performed. See details for additional information.
conflict
β
The requested operation could not be performed due to a conflicting request/state. See details for additional information.
idempotency-conflict
β
The specified idempotency-key
has previously been used in a different context. See details for additional information.