Error Codes

Utila API uses gRPC codes to indicate errors. In addition to the standard gRPC codes, we may return specific error codes for certain scenarios.

Standard gRPC Codes

Refer to the gRPC documentation for a comprehensive list of gRPC error codes.

Utila-Specific Error Codes

The following Utila-specific error codes provide additional context for common error scenarios:

CodeDescription
1001AUTHENTICATION_TOKEN_EXPIRED: The access token used for authentication has expired.
1002AUTHENTICATION_TOKEN_MISSING_OR_INVALID : The cookie token is invalid or missing
10001TRANSACTION_INSUFFICIENT_FUNDS: The transaction cannot be executed due to insufficient funds in the source account.
10002TRANSACTION_EXECUTION_REVERTED: The transaction failed to execute on the blockchain.
10003TRANSACTION_SOURCE_ACCOUNT_NOT_ACTIVATED: The source account is not activated. This is particularly relevant for TRON transactions.
10004TRANSACTION_ALREADY_SIGNED : The transaction was already signed.

Note: Additional error codes may be introduced in future API updates. Remember to check for updates here.