Solflare Wallet
  • ☀️Introduction
    • The Power of Self-Custody
    • Benefits of Non-Custodial Wallets
    • Digital Wallet Best Practices
    • Bigger Picture
  • Onboarding
    • 📞Mobile
      • Generate a New Wallet
      • Connect a Ledger Wallet
      • Import any Solana Wallet
    • 🖥️Web App & Extension
      • Generate a New Wallet
      • Import Your Ledger Device
      • Import Your Keystone Device
      • Import any Solana Wallet
    • 🚶Next Steps
  • Integrations
    • ⛓️Integrate Solflare
      • MetaMask
      • Using the Solana Wallet Adapter
      • Solflare Wallet SDK
    • 🎭Profile Picture Protocol
      • Get a Wallet's Profile Picture
      • Set NFT as Profile Picture
      • Remove a Profile Picture
    • ⚡Solflare Notifications
      • Sending Notifications
      • User's Perspective
        • Notification Center
        • Receiving Notifications
        • Subscription Management
      • API Endpoints
        • Broadcast Endpoint
        • Unicast Endpoint
        • List Casts Endpoint
        • View Cast Endpoint
        • Check Public Key Subscription Status for Domain
    • 🖼️NFT Standard
      • URI JSON Schema
      • CDN hosted files
      • Collections
      • Additional Attributes Specification
      • Order of JSON Fields
    • 🔗Deeplinks
      • Provider Methods
        • Connect
        • Disconnect
        • SignAndSendTransaction
        • SignAllTransactions
        • SignTransaction
        • SignMessage
      • Other Methods
        • Browse
      • Handling Sessions
      • Specifying Redirects
      • Encryption
      • Limitations
Powered by GitBook
On this page

Was this helpful?

  1. Integrations
  2. Deeplinks

Limitations

PreviousEncryption

Last updated 2 years ago

Was this helpful?

When making requests to Solflare in Establishing a Connection, Sending a Transaction, or Signing a Message, Solflare may respond with an error.

Errors

The following is a list of all possible error codes and their meanings. These error messages are inspired by Ethereum's and .

Code

Title

Description

4900

Disconnected

Solflare could not connect to the network.

4100

Unauthorized

The requested method and/or account have not been authorized by the user.

4001

User Rejected Request

The user rejected the request through Solflare.

-32000

Invalid Input

Missing or invalid parameters.

-32002

Requested resource not available

This error occurs when an aapp attempts to submit a new transaction while Solflare's approval dialog is already open for a previous transaction.

Only one approve window can be open at a time. Users should approve or reject their transactions before initiating a new transaction.

-32003

Transaction Rejected

Solflare does not recognize a valid transaction.

-32601

Method Not Found

Solflare does not recognize the method.

-32603

Internal Error

Something went wrong within Solflare.

Typically, these errors will be easily parseable and have both a code and an explanation. For example:

try {
  await window.solana.signMessage();
} catch (err) {
  //  {code: 4100, message: 'The requested method and/or account has not been authorized by the user.'}
}
🔗
EIP-1474
EIP-1193