Plaid logo
Docs
ALL DOCS

Link

  • Overview
Platforms
  • Web
  • iOS
  • Android
    • Troubleshooting
  • React Native
  • Hosted Link
Core Link functionality
  • OAuth guide
  • Update mode
  • Preventing duplicate Items
  • Data Transparency Messaging migration
  • Returning user experience
Additional Link modes
  • Embedded Link
  • Multi-Item Link
  • Link Recovery (beta)
  • Modular Link (UK/EU only)
Optimizing Link
  • Optimizing Link conversion
  • Link analytics and tracking
  • Pre-Link messaging
  • Customizing Link
  • Choosing when to initialize products
Errors and troubleshooting
  • Troubleshooting
  • Handling an invalid Link Token
  • Institution status in Link
Legacy flows
  • Legacy public key integrations
  • Link Token migration guide
  • Webview integrations
Plaid logo
Docs
Close search modal
Ask Bill!
Ask Bill!
Hi! I'm Bill! You can ask me all about the Plaid API. Try asking questions like:
  • Do access tokens expire?
  • How do I set up Link on the web?
  • What's the difference between Plaid Identity and IDV?
Note: Bill isn't perfect. He's just a robot platypus that reads our docs for fun. You should treat his answers with the same healthy skepticism you might treat any other answer on the internet. This chat may be logged for quality and training purposes. Please don't send Bill any PII -- he's scared of intimacy. All chats with Bill are subject to Plaid's Privacy Policy.
Plaid.com
Log in
Get API Keys
Open nav

Troubleshooting the Plaid Link Android SDK

Enabling Logs

The Link SDK logs information to LogCat at several points in the flow. Pass a LinkLogLevel value with the LinkTokenConfiguration to see the logs. The levels from least to most verbose: ERROR, WARN, INFO, DEBUG, VERBOSE.

Select Language
1val linkTokenConfiguration = linkTokenConfiguration {
2 token = "LINK_TOKEN_FROM_SERVER"
3 logLevel = if (BuildConfig.DEBUG) LinkLogLevel.VERBOSE else LinkLogLevel.ERROR
4}

Troubleshooting OAuth errors

A troubleshooting guide for common OAuth errors is below.

No redirect out of app

Link user experience
  • In Link, after clicking "Continue" on the OAuth screen, nothing happens.
Common causes
  • The user may be using an unsupported browser that is not compatible with Plaid's OAuth redirects, such as DuckDuckGo. For more details on which browsers are supported, see Supported browsers.
Troubleshooting steps

No redirect back to app

Link user experience
  • After completing OAuth in the browser or financial institution's app, the user is not redirected back to your app.
Common causes
  • The webpage is unable to locate an app on the device with a package id matching the one used to create the Link token.
Troubleshooting steps

The Play Store opened upon redirect

Link user experience
  • After completing OAuth in the browser or financial institution's app, the Google Play store opened.
Common causes
  • The webpage is unable to locate an app on the device with the package id matching the one used to create the Link token.
Troubleshooting steps

Link opens, then immediately closes upon redirect

Link user experience

After completing OAuth in the browser or financial institution's app, Link opens and then closes again.

Common causes
  • The webpage redirected back to the wrong application on the device causing Link to open and immediately close again as it gets data from a different session.
  • You may have both a test and a release version of your app installed on your device and used the wrong package name when creating the Link token.
Troubleshooting steps

Other common errors

To troubleshoot an error with an error code, use the error troubleshooting guide.

Was this helpful?
Developer community
GitHub
GitHub
Stack Overflow
Stack Overflow
YouTube
YouTube
Discord
Discord