Welcome to the Alteryx Knowledge Base
Created/Edited -
Troubleshoot "Unable to translate alias" error when trying to:
- Run or publish a workflow on Designer.
- Run or publish a workflow to the Gallery. Schedule a workflow to the local scheduler/desktop automation.
Unable to translate alias
Error on Designer:
Error when publishing the workflow to the Gallery:
Error when running the workflow on Gallery:
Alteryx Designer
- Version 11.0+
Alteryx Server
- Version 11.0+
Diagnosis
Data connections in Gallery are different than those in Designer. First, identify which type of connection/alias you are using:- In Designer select Options > Advanced Options > Manage Data Connections
- Determine the type of Data Connection
If you are using a System/User alias, see Solution A.
If you are using a Gallery alias, see Solution B-E.
Note: If you are using a Gallery alias, and one of the below applies, see Solution E:
- You started seeing this error after upgrading to Server version 2021.1+ OR
- You are on version 2021.1+ and Solution B-D do not apply to you
Cause
Alteryx is not able to find the connection referenced in the workflow.
Solution A. Alias is not accessible on the Server
The user has created an alias (Saved Data Connection) locally that does not exist on the Server, or is not configured properly. The alias must meet the following requirements:
- The alias must be created as a System Alias on the Server (all Worker nodes)
- The alias must have the exact same name
It is a best practice to ensure that all aliases are configured as System aliases on the Server. In rare cases, your Gallery Admin may specify that the User Alias can take preference over the System Alias. Please contact your Admin to confirm if this is the case. If this is selected, then the User alias should execute on the Server. This is not the default option.
Solution B. Gallery Connection Sync Issue
- Open File Explorer
- Navigate to %APPDATA%\Alteryx\Engine
- Delete or rename GalleryAlias.xml
- Re-launch Alteryx Designer. This will re-sync the file and you should now be able to see and use the data connection.
Solution C. Connection shared with Private Studio
If the issue only occurs on your Server and runs fine everywhere else, the Gallery Data Connection needs to be shared explicitly with the owner of the workflow rather than their Private Studio/Subscription.
- Default avatar is a single silhouette
- User membership icon will appear on the right
- The user's email will show
Please note that in newer versions of Server, the option of sharing to a Studio/Subscription has been removed.
Solution D. Asset missing
When sharing the connection, you can differentiate a Studio with User Accounts by checking the following:- From the Designer, select File > Save As >and select your Gallery
- Under Workflow Options select Manage workflow assets
- Check the box with the name of your alias
- Select Done and then Save to publish.
By default, this option is selected when you first publish.
Solution E. Gallery Data Connection is not shared correctly
This only applies to Server version 21.1+. In this version, how the permissions check applies changed. See this article for more details: Sharing Data Connections with User Groups | Altery... - Alteryx Community
- For versions up to 2020.4 - ensure that the workflow owner has the Gallery data connection shared with them.
- Starting in version 2021.1, the data connection must be shared with all users who run the workflow on the Gallery, not just the workflow owner.
Solution F. Workflow has a Macro using a Server (Gallery) Data Connection and Macro is not packaged as an asset when publishing workflow to Server
Within the main workflow, add Input Data Tools for all Server (Gallery) Data Connections referenced within the Macros. You can group all those extra Input Data tools into a container and disable the container so it won't affect your workflow. Then save the workflow back to the Server and run it. Doing this will force the Server Data Connections used within the Macros to be packaged along with the workflow when saving the workflow to the Server allowing the Server to know which Data Connections you need to use.
- Why can't a user run a workflow in Gallery that uses a shared data connection?
- Unable to create System Connection/System Connection type missing
- Sharing Data Connections with User Groups | Altery... - Alteryx Community
As always, don't hesitate to reach out to Customer Support if you run into any trouble.