Errors

When making requests to Aptos Connect, you may receive an error. The following is a partial list of the possible errors and their corresponding codes:

Code: 4100

  • Name: Unauthorized
  • Message: The request method and/or account has not been authorized by the user.

Code: 4001

  • Name: User Rejection
  • Message: The user rejected the request.

Note: once a transaction is sent, Aptos Connect will return the transaction details. The dApp will need to parse whether the transaction was a success or failed.