Skip to main content

Problems

In Recurring API, HTTP responses for errors follow the RFC 7807 standard.

See 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/vipps-recurring-api-problems# followed by a problem identifier.

Example: https://developer.vippsmobilepay.com/docs/APIs/recurring-api/vipps-recurring-api-problems#invalid-agreement-id

Identifiers

IdentifierDescription
validation-errorMissing data or inconsistencies in JSON. Please verify the request JSON body. See API specs.
invalid-agreement-idAgreement ID is invalid. Please verify the agreement ID is present and in the correct format. See API specs.
invalid-jsonJSON body is invalid. Please verify the request JSON body.
unsupported-media-typeMedia type indicated in Content-type header is not supported. See API specs.
not-authorizedJWT token is invalid.
idempotency-key-headerMissing or invalid Idempotency key header. See API specs.
charge-amount-too-highAmount set for charge is too high.
charge-due-too-soonCharge date due must be a minimum of 2 days in the future. See Create a charge.
charge-due-in-too-longCharge due date must be a maximum of 2 years in the future. See Create a charge.
unsupported-featureFeature not supported. Please contact Vipps.
illegal-agreement-updateAgreement cannot be updated. Might be stopped or pending.
invalid-suggested-max-amountSuggested max amount is invalid or too high. See Recurring agreements with variable amount.
cancel-charge-failedCould not cancel the charge.
charge-creation-failedCould not create the charge.
charge-capture-failedCould not capture the charge.
missing-request-headerMissing headers. See API specs.
invalid-sale-unitThe Sales unit is not allowed to use Recurring. See update-agreement-patch-endpoint
resource-not-foundThe specified resource was not found. See details for additional information.
operation-failedThe requested operation could not be performed. See details for additional information.
conflictThe requested operation could not be performed due to a conflicting request/state. See details for additional information.
idempotency-conflictThe specified idempotency-key has previously been used in a different context. See details for additional information.