Welcome to the Alteryx Knowledge Base

Error: "Failed to authenticate user" error when using Ask Alteryx
user

Created/Edited - 8/25/2026 by Clara Boo | Alteryx

Issue

Ask Alteryx may fail more frequently with the following error when there is a proxy server:

 

Failed to authenticate user

HTTP 500 code
Request failed with status code 500

 

NOTE:  If you are not using a proxy server and encounter this error, please refer to the following article:

 

Examples where the error may occur

 

  1. When attempting to connect to the workspace in Ask Alteryx.

 

  1. In the chat window

 

 

Environment
  • Alteryx Designer
    • Version >= 2025.2.1
  • Ask Alteryx

 

Prerequisites
  • Proxy Server is used

 

Cause

There are two tokens: access and refresh. The access token has a short lifespan (in minutes), while the refresh token has a longer lifespan (usually in days, such as 30 or more). The access token is usually automatically renewed until the refresh token expires.  When the refresh token is no longer valid, re-authentication is expected, and this is normal expected behaviour.

 

The issue in this article is that the access token is not automatically renewed when a proxy server is in place, causing an authentication failure.  A defect (TCP-5401) has been logged to address this.

 

Resolution

As a workaround for now, please work with your IT team to bypass the proxy server for Alteryx One (alteryxcloud.com).

 

Solution A: For PAC File

 

If you are using a PAC file, please add a condition to bypass Alteryx One and allow a direct connection. This suggestion will only work if you do not require a proxy server to connect to an external site.

 

Script Example:

function FindProxyForURL(url, host)
{
    if shExpMatch(host, "alteryxcloud.com")
	{
		return "DIRECT"; 
	}
	else
	  return "PROXY <PROXY>:<PORT>;
}

 

 

Solution B: For Manual Proxy Server Setup

 

If you use the manual proxy server option, adding Alteryx One to the exception for bypassing may not work. In this case, you may consider doing the following steps whenever you want to use Ask Alteryx:

 

  1. Go to Options > User Settings > Edit User Settings.
  2. Select Proxy in the User Settings window.
  3. Select the Never Use Proxy option.
  4. Click Apply and Save.

 

NOTE:  Remember to set the option back to "Use Internet Options" when you are done to avoid any tool configuration or runtime issues. This option will work only if you do not need a proxy to connect to any external sites.

 

 

Solution C: No Bypass or Proxy Server is needed

 

If bypassing the proxy is not possible or desirable, you may need to reconnect to Alteryx One whenever the "Failed to authenticate user" message occurs.  NOTE: A reconnection may likely be frequent.

 

Below are the suggested steps:

 

  1. Go to File > Manage Connections.
  2. In the Connection Manager window, click Alteryx Links.
  3. Click the Connect to Cloud button.

 

  1. Select the same instance you use.
  2. Log in and select the same workspace.
  3. Once successful, the DCM connection will be updated.
  4. Proceed to use Ask Alteryx.

 

NOTE:

  • There is more than one way to perform a reconnection. For this method, there is no need to delete the Alteryx Link first.
  • The Test Connection in the 3-dots menu next to the workspace in Alteryx Links could have been used to re-authenticate and refresh the tokens, but it does not currently work. For details, please refer to this article.

 

 

Was this article helpful?