Skip to main content
An error from a BundleUp request comes from one of two places:
  • BundleUp, before the request reached the provider: a bad key, an unknown connection, the rate limit, a failed token refresh.
  • The provider, passed through unchanged: a missing scope, a resource that doesn’t exist, the provider’s own rate limit.
They need different handling, so the first step is always telling them apart. Look at the body first. BundleUp’s own errors have a recognizable JSON body; everything else is the provider’s. Then act on the status.

BundleUp errors

The Unified API reports the same situations with its own status codes and envelope (404 for an unknown connection or unsupported endpoint). See the errors reference.

Provider errors

Provider errors are passed through exactly as the provider sent them, so the provider’s documentation is the authority. Common cases:

A pattern for your code

Designing for reconnects

Every integration eventually loses access for some users: they leave the company, revoke your app, or change their password. Plan for it:
  • Store a status next to each connection in your database (active, needs_reconnect).
  • Set needs_reconnect on connection_invalid, on repeated connection_refresh_failed, or on a provider 401.
  • Show a clear “Reconnect” button that runs the authorization flow again.
  • After reconnecting, store the new connection ID and delete the old connection.