CONNECT_INVALID_CONFIG

The connect widget is not configured correctly.

HTTP status: none (PyasConnect reports this error in the browser). Retrying the same request returns the same error.

What to do

Create a connect session on your server (POST /v2/connect/sessions) and pass its token to the widget.

Hint returned with the error: Pass the widget a session token from your server, or a function that fetches one.

Why it happens

  • No session token, and no 1.x client ID and token name
  • A provider in providers that the widget does not support
  • Redirect mode used with 1.x keys