Welcome to the Alteryx Knowledge Base
Created/Edited -
In Alteryx One, creating a new OneDrive connection may fail during authentication. This can happen when the OAuth client is configured with an incorrect client secret value.
When creating a new connection in Alteryx One and selecting Authenticate, the authentication fails.
The following error may appear:
- An error happened while getting auth code.
After selecting Details, the authentication error may show an invalid client error related to the client secret.
Alteryx One
OneDrive connection
The OAuth client was created with an incorrect client secret value.
This usually happens when the client secret ID is used instead of the client secret value.
Because of this, Microsoft authentication fails and the connection cannot get an access token.
Delete the existing OAuth client for OneDrive and create a new one with the correct client secret value.