Using API v1? See what changes in v2, or the v1 docs
CONNECTION_CONSENT_FAILED
The provider did not complete the connection.
HTTP status: 422. Retrying the same request returns the same error.
What to do
Start a new connect session. If it keeps failing for one user, check that their administrator allows the app.
Hint returned with the error: Ask the user to connect again.
Why it happens
- The user canceled or declined consent
- The authorization code expired or was already used
- The provider returned no refresh token or no email address for the account
Endpoints that return it
- Connect an account with a code
POST /v2/connect/accounts - Complete a connection
POST /v2/connect/complete