LogoLogo
SupportGithubSign InGet Access
  • Introduction
  • GETTING STARTED
    • SDK Quick Start
    • API Quick Start
  • Guides
    • Web
      • Create a wallet
      • Send tokens
      • Sign a transaction
      • Simulate a transaction
      • Back up a wallet
      • Recover a wallet
      • Cross-device sessions
      • Manage wallet lifecycle states
      • Web authentication methods
      • Perform swaps
      • Add custom signature hooks
      • MPC progress callbacks
      • Portal API methods
      • Configure a custom subdomain
      • Eject a wallet
      • Using the EIP-1193 Provider
      • Legacy documentation
        • Back up a wallet
          • Backup Options
        • Recover a wallet
    • iOS
      • Create a wallet
      • Send tokens
      • Sign a transaction
      • Simulate a transaction
      • Back up a wallet
      • Recover a wallet
      • Cross-device sessions
      • Manage wallet lifecycle states
      • Connect with WalletConnect
      • Build a WebView
      • Perform swaps
      • Add custom signature hooks
      • MPC progress callbacks
      • Portal API methods
      • Manage ERC20 tokens
      • Eject a wallet
      • Legacy documentation
        • Back up a wallet
          • Backup Options
          • Passkey + Enclave Storage
        • Recover a wallet
      • Troubleshooting Tips
      • Feature Flags
    • Android
      • Create a wallet
      • Send tokens
      • Sign a transaction
      • Simulate a transaction
      • Back up a wallet
      • Recover a wallet
      • Cross-device sessions
      • Manage wallet lifecycle states
      • Connect with WalletConnect
      • Build a WebView
      • Perform swaps
      • Add custom signature hooks
      • MPC progress callbacks
      • Portal API methods
      • Eject a wallet
      • Legacy documentation
        • Back up a wallet
          • Backup Options
        • Recover a wallet
    • React Native
      • Create a wallet
      • Send tokens
      • Sign a transaction
      • Simulate a transaction
      • Back up a wallet
      • Recover a wallet
      • Cross-device sessions
      • Manage wallet lifecycle states
      • Connect with WalletConnect
      • Build a WebView
      • Perform swaps
      • Add custom signature hooks
      • MPC progress callbacks
      • Portal API methods
      • Eject a wallet
      • Legacy documentation
        • Back up a wallet
          • Backup Options
        • Recover a wallet
    • Enclave MPC API
      • Create a client
      • Create a wallet
      • Send tokens
      • Sign Ethereum transactions
      • Sign Solana transactions
      • Sign Tron transactions
      • Sign Stellar Transaction
      • Concurrent Transactions
      • Back up a wallet
      • Eject a wallet
  • Reference
    • iOS
      • createWallet
      • backupWallet
      • recoverWallet
      • ejectPrivateKeys
      • registerBackupMethod
      • setGDriveConfiguration
      • setPasskeyConfiguration
      • setPasskeyAuthenticationAnchor
      • setPassword
      • availableRecoveryMethods
      • doesWalletExist
      • isWalletBackedUp
      • isWalletOnDevice
      • isWalletRecoverable
      • getBalances
      • getAssets
      • getNftAssets
      • getTransactions
      • sendSol
      • evaluateTransaction
      • buildEip155Transaction
      • buildSolanaTransaction
      • getWalletCapabilities
    • Android
      • Reference Documentation
    • React Native
      • @portal-hq/core
      • Storage adapters
        • Cloud storage
          • @portal-hq/gdrive-storage
          • @portal-hq/icloud-storage
        • Mobile storage
          • @portal-hq/keychain
          • @portal-hq/mobile-key-values
    • Enclave MPC API
      • V1 endpoints
    • Client API
      • V3 endpoints
      • V1 endpoints
    • Custodian API
      • V3 endpoints
      • V1 endpoints
    • Swaps API
      • V3 endpoints
      • V1 endpoints
  • Resources
    • Flutter
      • iOS
      • Android
    • Error codes
      • Overview
      • MPC errors
      • Network errors
      • General errors
      • Encryption errors
      • Portal Connect errors
    • Portal's MPC architecture
    • Authentication and API Keys
    • Self-Managed Backups
    • Alert Webhooks
    • Wallet lifecycle
    • Backup options
      • Password/PIN
      • GDrive
      • iCloud
      • Passkey + Enclave
    • WalletConnect metadata
    • Advanced security scanning
    • Account abstraction
    • Security firewall
    • Eject
    • Security
    • Blockchain support
    • Chain ID formatting
    • Testnet faucets
    • Going to Production
    • Rate Limits
    • Multi-backup migration guide
    • Multi-wallet migration guides
      • Migrating from Android SDK v3.x.x to v4.x.x
      • Migrating from iOS SDK v3.0.x to v3.2.x
  • Support
    • Changelog
      • Android
      • iOS
      • React Native
      • Web
      • Past Releases
        • 2024 Releases
        • 2023 Releases
    • Celo Hackathon Hub
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. Resources
  2. Error codes

General errors

These errors are non-category specific failures.

Code
Name
Description
Customer Advice

300

FAILED_TO_COMPUTE_ETH_ADDRESS

This error is thrown when there is a mismatch in the X and Y key shares that are provided

Confirm that the client key share sent to Portal is what is saved on file as the active client key share

301

FAILED_TO_CREATE_SHARE_OBJECT

This error is either a networking issue or an issue with the. It could be on the Portal side or due to network errors.

Check our status page to see if Portal is having an outage or retry the request.

302

INCORRECT_INPUT_TO_SIGN

This error is thrown when the signed hash is in the incorrect format.

Confirm that your ETH transaction object is correctly formatted

303

FAILED_TO_CONVERT_PUBLIC_KEY_BYTES

Deprecated from the codebase

Deprecated from the codebase

304

FAILED_TO_COMPUTE_SIGNATURE

Deprecated from the codebase

Deprecated from the codebase

305

FAILED_TO_PARSE_INPUT_SHARE_OBJECT

This error is thrown when your DKG object is incorrectly formatted.

Confirm that the portalDKG object sent from the client is correct and the format is correct

306

INCORRECT_SHARE_OBJECT_TYPE

This error is thrown when the DKG object is missing any of its 4 fields.

Confirm that the DKG object being sent from the client is complete

307

FAILED_TO_CONVERT_STRING_TO_BIG_INT

This error is thrown when the share represented as a string fails to be converted to type big int

Confirm the client key share is sent in as a String

308

FAILED_TO_POPULATE_TRANSACTION

This error is thrown when the ETH Transaction is incorrect

Confirm that your ETH transaction object is correctly formatted

309

FAILED_TO_BUILD_MESSAGE

This error is throw when there is an issue with the has provided for a sign function

Confirm that the ETH Sign Object is correct and complete

310

UNSUPPORTED_ETH_METHOD

This error is thrown when provided with an incorrect ETH method

Confirm that the method is correctly spelled and that it exists as a supported method by Portal

311

NODE_RPC_ERROR

This error is thrown by a node gateway provider, (like Alchemy). Often, the error is related to a formatting error.

Confirm that you are addressing the error response that is sent back. It provides the context to fix this error as it is set directly by the gateway provider

312

FAILED_TO_INITIALIZE_PUBLIC_KEY

This error is a generic catch for errors when converting key pairs into a ECDSA elliptic curve point

Contact Portal support.

313

FAILED_TO_CALCULATE_SELF_PUBLIC_KEY

This error is a networking issue. It could be on the Portal side or due to network errors.

Check our status page to see if Portal is having an outage or retry the request.

314

FAILED_TO_UNMARSHAL_PARTIAL_PUBLIC_KEY_FROM_SOCKET

This error is either a networking issue or an issue with the. It could be on the Portal side or due to network errors.

Check our status page to see if Portal is having an outage or retry the request.

315

FAILED_TO_MARSHAL_PARTIAL_PUBLIC_KEY

This error is either a networking issue or an issue with the. It could be on the Portal side or due to network errors.

Check our status page to see if Portal is having an outage or retry the request.

320

API_GET_ME

This error is from calling out to the getMe endpoint.

Check the message for more details.

PreviousNetwork errorsNextEncryption errors

Last updated 11 months ago

Was this helpful?