Skip to main content

Error codes

When an API request fails, Open Fabric returns an HTTP error status code. Depending on the endpoint, the response body may also include an error code and message.

This page documents the platform error codes.

Error codeHTTPMessage
unauthorized401The credentials / access token are invalid.
forbidden403The requested resource cannot be accessed.
unexpected_error500An unexpected error encountered during the process. Please contact to OF admin for more information.
validation_error400The request contains invalid data. Please check and correct the input fields.
internal_validation_error400An internal validation error occurred. Please refer to the error details for more information.
idempotency_error409Idempotency-Key concurrency conflict.
transaction_not_found404The requested transaction can not be found.
transaction_amount_invalid400The amount is not valid.
transaction_currency_invalid400The currency is not valid.
transaction_parameter_invalid400Transaction request parameters are invalid.
transaction_status_unexpected422The Transaction status was incompatible with the performing operation.
transaction_customer_not_found404The requested customer can not be found.
transaction_card_creation_failed422Cannot create a card for the transaction
transaction_card_tokenization_failed422Cannot tokenize card for the transaction.
transaction_card_charge_failed422Cannot charge the transaction.
transaction_pg_refund_failed422Cannot refund the transaction.
transaction_card_invalidation_failed422Cannot invalidate the card.
transaction_duplicate_reference409The Reference ID provided has already been used.
card_config_missing422Missing configuration for card.
partner_config_missing422Missing configuration for the partner.
tenant_config_missing422Missing configuration for the tenant.
card_not_found404The requested card can not be found.
card_creation_failed422The card creation request to Mastercard failed.
card_update_failed422The update card request to Mastercard failed.
card_tokenization_failed422The card tokenization request to the PG failed.
card_charge_failed422The charge request to the PG failed.
card_refund_failed422The refund request to the PG failed.
card_invalidation_failed422The card invalidation request to Mastercard failed.
card_parameter_invalid400One or more provided card parameters are not valid.
tenant_parameter_invalid400One or more provided tenant parameters are not valid.
partner_parameter_invalid400One or more provided partner parameters are not valid.
card_config_failed422Card configuration failed.
tenant_config_failed422Tenant configuration failed.
partner_config_failed422Partner configuration failed.
notification_subscription_not_found404The requested subscription can not be found.
notification_subscription_parameter_invalid400Subscription request parameters are invalid.
notification_parameter_invalid400Notification request parameters are invalid.
notification_processing_failed422Notification processing failed.
transaction_tenant_creation_failed422The request to create a transaction failed at tenant side.
tenant_config_resource_not_found404Resource of tenant was not found.
partner_config_resource_not_found404Resource of partner was not found.
entity_type_duplicate_reference409Entity type provided has already been used
pat_parameter_invalid400Pre-approval Transaction link request parameters are invalid
pat_link_duplicate_reference409Link reference provided has already been used
pat_link_not_found404Pre-approval Transaction link can not be found.
pat_link_tenant_failed422The request to for Pre-approval Transaction link failed at tenant side.
customer_not_found404The requested customer can not be found.
tenant_customer_duplicate_reference409The tenant customer reference ID provided has already been used.
transaction_context_not_found404The requested transaction context can not be found.
create_transaction_context_failed400Transaction context creation failed.
tenant_device_duplicate_reference409The tenant device reference ID provided has already been used.
tenant_account_duplicate_reference409The tenant account reference ID provided has already been used.
create_pba_device_failed400PBA device creation failed.
pba_device_not_found404The requested PBA device can not be found.
delete_pba_device_failed400PBA device deletion failed.
pba_account_not_found404The requested PBA account can not be found.
create_pba_account_failed400PBA account creation failed.
delete_pba_account_failed404PBA account deletion failed.
pba_provision_failed400PBA provision failed.
static_token_not_found404The requested static token can not be found.
wallet_not_found404The requested SDK wallet can not be found.
wallet_settings_not_found404The requested SDK wallet settings can not be found.
token_not_found404The requested SDK token can not be found.
device_not_found404The requested SDK device can not be found.