Error Codes Reference

This section describes the possible error responses returned when an agent invokes MCP tools, including general authentication errors and tool-specific failures.


Common Error Codes

Error CodeDescription
UNAUTHORIZEDThe API key is invalid or missing.
API_KEY_MISSINGThe Authorization header is not provided in the request.
API_KEY_INVALIDThe API key format is incorrect or does not exist.
API_KEY_UNAVAILABLEThe API key has been disabled.


issue_card Error Codes

Error CodeDescription
INVALID_AMOUNTThe amount exceeds the allowed limit or is negative.
UNSUPPORTED_CURRENCYThe currency parameter is not supported.
UNSUPPORTED_CHAINThe chain parameter is not supported.
CARD_ISSUANCE_PENDINGA previous card issuance request is still pending, or the issuance lock could not be acquired.
PARAM_INVALIDParameter validation failed during the card issuance workflow.
OPENAPI_ERRORFailed to query the Interlace wallet or create a deposit address.


get_card Error Codes

Error CodeDescription
CARD_NOT_FOUNDNo card with status ACTIVE exists for the current account.
CARD_QUERY_FAILEDFailed to retrieve card details or balance from the Interlace system.


get_transactions Error Codes

Error CodeDescription
CARD_NOT_FOUNDNo card with status ACTIVE exists for the current account.
INVALID_LIMITThe limit parameter is outside the allowed range (1–100).
TRANSACTION_QUERY_FAILEDFailed to retrieve the transaction list from the Interlace system.


delete_card Error Codes

Error CodeDescription
CARD_NOT_FOUNDNo deletable card exists for the current account.
CARD_DELETE_FAILEDFailed to acquire the deletion lock or call the Interlace card deletion API.


refund_topup Errors

Error CodeDescription
PARAM_INVALIDThe address is empty or the transferId is missing.
NO_REFUNDABLE_TRANSACTIONNo ONHOLD transactions are available for refund.