DocsAPI Reference
Log In
Docs

Error responses

When a request fails, Meld endpoints return a response that includes the errors fields in the body. The following table lists the error code you might receive from our API.

The error message includes both Meld's error code and the service provider's error details. Reference Error schema.

General

Error code

Error message

UNKNOWN

Unknown Error

BAD_REQUEST

Bad request

  • *Note:** When a bad request is received, the system will return a user-friendly representation of the error, such as:
  • [amount] Must be a decimal value greater than zero
  • [serviceProvider] Must be a service provider
  • [serviceTransactionId] must not be blank

Payments

Error code

Error message

INVALID_AMOUNT_OR_CURRENCY

Invalid amount or currency

INITIAL_TRANSACTION_ERROR

Error creating initial transaction

JSON_PROCESSING_ERROR

Error processing JSON

PAYMENT_TRANSACTION_STATE_INVALID

Payment transaction is null or invalid

PREVIOUS_TRANSACTION_STATE_INVALID

Previous transaction state is null or invalid

SERVICE_PROVIDER_ERROR

Service Provider Error

TRANSACTION_CREATION_ERROR

Unable to create transaction

TRANSACTION_EXCEPTION

Exception in transaction

TRANSACTION_INVALID_ID

Transaction ID is invalid or it was not found

TRANSACTION_INVALID_STATE_ID

Transaction state ID is invalid or it was not found

TRANSACTION_NO_RESULT

No result from gateway

TRANSACTION_NO_RESPONSE

No response from transaction

TRANSACTION_REQUEST_CREATION_ERROR

Unable to create a transaction request

TRANSACTION_INVALID_PROVIDER

Invalid service provider

TRANSACTION_UPDATE_NULL_ERROR

Unable to update a null/invalid transaction

TRANSACTION_INVALID_SERVICE_TRANSACTION_ID

Invalid service transaction ID

TRANSACTION_NULL_DATA

Transaction data is null

NOT_SUPPORTED

Operation not supported for service provider

FAILED_GETTING_TRANSACTION

Failed getting transaction

TRANSACTION_MISSING_SERVICE_PROVIDER_DETAILS

Request requires serviceProviderDetails property

TRANSACTION_MISSING_CARD_INFORMATION

Missing credit/debit card information

TRANSACTION_FAILED_GETTING_CRYPTO_QUOTE

Failed getting crypto quote

TRANSACTION_CREDIT_CARD_INFO_NOT_SUPPORTED

Transactions with credit card information are not supported by the provider. Try to use nonces


What’s Next

Learn about common statuses and their meaning