General Troubleshooting Steps
Before diving into specific issues, try these basic troubleshooting steps:Clean Build Folder
Update Dependencies
pod update in your terminal.Verify SDK Version
Check Configuration
Common Issues and Solutions
Authentication Issues
Passkey Generation Failure
Passkey Generation Failure
ParaError.bridgeError or system authentication errorsBiometric Authentication Failure
Biometric Authentication Failure
User Cancellation
User Cancellation
ASAuthorizationError.canceled or similar system errorsA user is already signed in
A user is already signed in
ParaError.error("A user is already signed in. Call logout() before signing in again.")authenticateWithEmailOrPhone, authenticateWithOAuth, and authenticateWithExternalWallet won’t start a new sign-in over an active session. (authenticateWithExternalWallet logs out a connection-only session from MetaMaskConnector.connect() first.) Check isFullyLoggedIn() when your app launches and skip the sign-in screen for a signed-in user, or call logout() before signing in a different user.Missing WebAuthenticationSession
Missing WebAuthenticationSession
ParaError.error("Missing WebAuthenticationSession. Call setDefaultWebAuthenticationSession(_:) or pass one in.")WebAuthenticationSession. Register one before starting sign-in, for example in .task { paraManager.setDefaultWebAuthenticationSession(webAuthenticationSession) }, or pass webAuthenticationSession: to the authentication call. Confirm the appScheme you pass to ParaManager matches the URL scheme in your Info.plist so the sheet can return to your app.Passkey belongs to a different account
Passkey belongs to a different account
ParaError.error("That passkey belongs to a different account. Choose the passkey for this account.")authenticateWithOAuth or authenticateWithEmailOrPhone, a Para-hosted page can hand a returning, passkey-protected account back to your app for the native passkey prompt. The passkey must belong to the account the provider signed in to or the user verified. Ask the user to pick the passkey for that account and try again.A related error, ParaError.error("The sign-in page did not say which account to sign in to."), means the page handed back without naming the account, so the SDK refused to accept any passkey on the device. Start sign-in again.Para-hosted page closed
Para-hosted page closed
ParaError.error("Authentication cancelled")Two-factor authentication required
Two-factor authentication required
ParaTwoFactorRequiredErrorinitiateAuthFlow, handleVerificationCode, handleOAuth, loginExternalWallet) can’t host, so the SDK canceled the sign-in. The authenticate methods throw it too when Para’s updated authentication flow isn’t running for your app. Catch the error and tell the user. On the updated flow, authenticateWithEmailOrPhone and authenticateWithOAuth complete the second factor on a Para-hosted page.Email/Phone Verification Failure
Email/Phone Verification Failure
authenticateWithEmailOrPhone, a rejected code calls your verificationCodeProvider again with the error, so show that error in your code-entry UI. Para allows a limited number of retries before the call throws. Also verify:- Correct environment settings (BETA/prod)
- Proper user input (valid email/phone format)
- Active network connection
- You haven’t hit rate limits for verification attempts
Transaction Signing Issues
Invalid Transaction Format
Invalid Transaction Format
ParaError.bridgeError or ParaError.errorTransaction Signing Errors
Transaction Signing Errors
Gas Estimation Issues
Gas Estimation Issues
- Ensure wallet balance covers gas fees
- Verify correct gas parameters
- Use reliable web3 libraries for estimates
- Consider implementing fallback gas values
Network Issues
Connection Problems
Connection Problems
ParaError.bridgeError or ParaError.bridgeTimeoutErrorTimeout Issues
Timeout Issues
ParaError.bridgeTimeoutError- Implement timeout handling using Swift concurrency features
- Provide retry options for users
- Display loading indicators during network operations
- Consider implementing exponential backoff for retries
External Wallet Issues
MetaMask Connection Issues
MetaMask Connection Issues
MetaMaskError or ParaError.bridgeErrorExternal Wallet Login Failure
External Wallet Login Failure
signMessage signs with that same address and returns the signature in the format Para verifies (hex for EVM, base58 for Solana; Cosmos wallets need signCosmosMessage). Stellar wallets aren’t supported for sign-in yet. If the user rejects the signature in the wallet, your signMessage closure throws and sign-in is canceled. See .loginExternalWallet(wallet:) starts a connection-only session unless you pass isConnectionOnly: false in ExternalWalletInfo. Use authenticateWithExternalWallet to sign the user in to Para.Deep Link Failures
Deep Link Failures
- Verify URL schemes in
Info.plist - Confirm deep-link handling in AppDelegate or SceneDelegate
- Test with simple deep links to isolate the issue
- Check if the external wallet app is properly installed
Best Practices
Development Tools
Enable Debug Mode
Network Debugging
Xcode Debugging
- Set breakpoints at critical points
- Inspect variables and state
- Use the console for logging
Setup and Integration Issues
Para SDK initialization fails
Para SDK initialization fails
- Ensure you’re providing the required
appSchemeparameter - Verify that you’re using the correct API key and environment
- Check that all necessary dependencies are installed properly
- Look for any Swift compiler errors in your Xcode console
- Verify that your minimum deployment target is iOS 16.4 or higher
Passkey operations fail or throw errors
Passkey operations fail or throw errors
- Verify that you’ve set up Associated Domains correctly in your Xcode project
- Make sure you’ve registered your Team ID + Bundle ID with Para via the Developer Portal
- Ensure that biometric authentication is enabled on the test device
- Check that
AuthorizationControlleris properly configured - Verify Face ID/Touch ID permissions are properly set in Info.plist
- Check for
ASAuthorizationError.canceledwhen users cancel the biometric prompt
Authentication fails or API requests are rejected
Authentication fails or API requests are rejected
- Double-check that your API key is correct and properly set in your Para manager initialization
- Verify you’re using the correct environment (
betaorprod) that matches your API key - Ensure your account has the necessary permissions for the operations you’re attempting
- Check that your URL scheme matches what’s configured in your Info.plist
- Verify the authentication flow is being followed correctly (verify → signup/login)
Deep linking not working
Deep linking not working
- Verify your URL scheme is correctly configured in Info.plist
- Check that
onOpenURLmodifier is properly implemented - Ensure the
appSchemeparameter matches your URL scheme exactly - Test with a simple deep link first to isolate the issue
- Make sure your app is handling the URL in the main app file
Getting Help
If you’re still experiencing issues after trying the solutions above, you can get additional help:- Contact Para Support via or Slack
- When reporting issues, include:
- Detailed error messages
- Steps to reproduce the issue
- Device and iOS version details
- Para SDK version