These errors can be returned in response to a subscription or billing plan request.
Code | Name | Description |
---|---|---|
20026 | MISMATCH_SUBSCRIPTION_CURRENCY | The given currency must match the original subscription currency. |
24001 | INVALID_CHARGE_FREQUENCY | Charge frequency ${chargeFrequency} is invalid |
24002 | MISSING_REQUIRED_FIELD | ${fieldName} is a required field. |
24003 | INVALID_BILLING_PLAN_CONFIGURATION | Billing plan configuration provided is not supported. ${param1} cannot be used with ${param2} |
24004 | API_CONFIGURATION_ISSUE | Request failed. Please contact Bluesnap for assistance |
24005 | RECURRING_PRICE_MINIMUM_LIMIT_NOT_REACHED | Recurring Price should be higher than 1 USD or its equivalent in the chosen currency. |
24006 | PRICE_MUST_BE_POSITIVE | Prices are always positive numbers. |
24007 | INVALID_GRACE_PERIOD | Grace period value provided is not valid. |
24008 | INVALID_TRIAL_DAYS | Trial days value provided is not valid. |
24009 | INVALID_MAX_NUMBER_OF_CHARGES | Maximum number of charges value provided is not valid. |
24010 | INVALID_BILLING_PLAN_NAME_LENGTH | Billing plan name must be between 1 and 199 characters |
24011 | CURRENCY_NOT_FOUND | The currency provided is not found. |
24013 | ERROR_IN_REQUEST | An unexpected error happened while processing your request. Please contact BlueSnap support for assistance. |
24014 | NON_UPDATABLE_FIELD | ${fieldName} cannot be updated. Please create a new plan instead. |
24015 | CANNOT_ADD_ELEMENT | Cannot add ${elementName} to a plan that didn't already have one. Please create a new plan instead. |
24016 | INVALID_STATUS | Status provided is invalid |
24017 | CANNOT_CREATE_INACTIVE_PLAN | Cannot create an inactive billing plan |
24018 | CANNOT_DELETE_ELEMENT | Cannot remove ${elementName} from a plan that already had one. Please create a new plan instead. |
26001 | NEGATIVE_PAGE_SIZE | PageSize cannot be a negative number |
26002 | MAX_PAGE_SIZE_EXCEEDED | PageSize exceeds the maximum allowed size |
26003 | INVALID_PAGINATION_PARAMETERS | Cannot paginate using before and after at the same time |
90009 | SUBSCRIPTION_NOT_FOUND | Subscription was not found. |
90010 | NON_OVERRIDABLE_PLAN_TYPE | Billing plan type does not support initial charge. |
90011 | NON_OVERRIDABLE_TRIAL_DAYS | Cannot override trial-period-days |
90012 | NON_OVERRIDABLE_INITIAL_CHARGE | Cannot override initial-charge-amount |
90013 | NO_VAULTED_SHOPPER_FOUND | Invalid vaultedShopperId-${vaultedShopperId} :no vaulted shopper found with given id |
90014 | NEGATIVE_QUANTITY | Invalid quantity ${quantity} :subscription quantity should be greater than zero |
90015 | INVALID_CURRENCY | Currency: ${currencyCode} is not a valid currency code according to the ISO 4217 standard. |
90016 | INVALID_OVERRIDE_TRIAL_DAYS | Invalid value ${trialDays} :override trial days must be a number |
90017 | INVALID_RECURRING_CHARGE_AMOUNT | Invalid value ${recurringChargeAmount} :recurring chargeamount should be a greater than zero |
90018 | INVALID_INITIAL_CHARGE_AMOUNT | Invalid value ${initialChargeAmount} :initial chargeamount should be a greater than zero |
90019 | INCORRECT_PAYMENT_DETAILS | recurring charge failed because the payment details were incorrect or insufficient |
90020 | MULTIPLE_CARDS_FOUND_NONE_SELECTED | recurring charge failed because given vaulted shopper has multiple cards but none of them are selected |
90021 | SWITCH_PLAN_ERROR | Failure during the switch contract procedure |
90022 | INVALID_DATE_FORMAT | Expected date format is YYYY-MM-DD |
90023 | CANNOT_UPDATE_CANCELED_SUBSCRIPTION | Please activate subscription before making modifications to it. |
- | EXISTING_CHARGE_PENDING_APPROVAL | Subscription Charge creation could not be completed because this subscription already has a payment pending approval. |