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

MPC errors

These errors are related to the MPC process itself. They include misconfigurations, failed parsing, and cryptographic key mismatches.

Code
Error Name
Error Description
Advice

100

INVALID_RANK_AND_THRESHOLD

This error is thrown if a client is passed a key share object created with an invalid MPC configuration.

Contact Portal support.

101

FAILED_TO_START_DKG

This error is thrown if there is an issue starting the DKG process.

Contact Portal support.

102

FAILED_TO_FINISH_DKG

This error is thrown if there is an issue completing the DKG process.

Contact Portal support.

103

FAILED_TO_CONVERT_DKG_RESULT

This error is thrown if the result from the DKG process can’t be parsed correctly.

Contact Portal support.

104

FAILED_TO_START_RESHARE

This error is thrown if there is an issue starting the reshare process.

Contact Portal support.

105

FAILED_TO_FINISH_RESHARE

This error is thrown if there is an issue completing the reshare process.

Contact Portal support.

106

FAILED_TO_CONVERT_RESHARE_RESULT

This error is thrown if the result from the reshare process can’t be parsed correctly.

Contact Portal support.

107

FAILED_TO_START_SIGN

This error is thrown if there is an issue starting the signing process.

Contact Portal support.

108

FAILED_TO_FINISH_SIGN

This error is thrown if there is an issue completing the signing process.

Contact Portal support.

109

FAILED_TO_CONVERT_SIGN_RESULT

This error is thrown if the result from the signing process can’t be parsed correctly.

Contact Portal support.

110

DKG_PROCESS_ERROR

This error is a generic catch for errors during the DKG process.

Contact Portal support.

111

FAILED_TO_PARSE_SOCKET_MESSAGE

Portal uses a websocket channel to complete an MPC operation (generate, sign, backup, recovery). This error is thrown if there is an error parsing a websocket message during an MPC operation.

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

112

FAILED_TO_ADD_MESSAGE_TO_CHANNEL

Portal uses multiple threads when performing an MPC operation. This error is thrown if there is an error passing information between threads.

Contact Portal support.

113

REFRESH_SHARE_MISMATCH

This error occurs if there is a mismatch in the shares during the refresh step of an MPC operation.

This can occur if you pass in the wrong key share during backup. Confirm that you passed the correct key share into the backup function.

114

REFRESH_PROCESS_ERROR

This error occurs if there is a problem other than share mismatch during the refresh step of an MPC operation.

Contact Portal support.

115

FAILED_TO_GET_PAILLIER_KEY

This error occurs if there is a problem retrieving the Pailler key during a step in an MPC operation.

Contact Portal support.

116

SIGNING_SHARE_MISMATCH

This error occurs if there is a mismatch in the shares during the signing MPC operation.

Contact Portal support.

117

SIGNING_PROCESS_ERROR

This error occurs if there is a problem other than share mismatch during the signing operation.

Contact Portal support.

PreviousOverviewNextNetwork errors

Last updated 11 months ago

Was this helpful?