I am receiving a "HTTP Status Code.. 404" error when I try to connect to Alteryx server

Hello all,

I am having an issue connecting UI Path to my firm’s Alteryx server. I receive an error message that says “The HTTP status code of the response was not expected (404)”. Does anyone have any idea what may be causing this issue? I have provided additional details below.

The Alteryx Configure Connection pane contains three fields:

  • Base URL: I copied and pasted my firm’s Alteryx server URL and modified it to end with “/gallery/api” as stated on UI Path’s website.
  • Client ID: This is the “Private Studio API Key” listed on my firm’s Alteryx Server profile.
  • Client Secret: This is the “Private Studio API Secret” listed on my firm’s Alteryx Server profile.

Additionally, my firm’s Alteryx Server is up to date

  • Client: 2022.1.0
    -Server: 2022.1.1.30961

Any help would GREATLY appreciated. Thank you in advance!

Can you show us how you are trying to connect to the Alteryx server?
Through HTTP Request activity?
In Postman, the connection is successful?

Provide some screenshots so we can better understand your encountered issue.


Thanks Marian, please see the attached screenshot. The issue is connecting through Alteryx API. Let me know if you need any additional information.

Can you check if these articles are helping you?

https://help.alteryx.com/20221/designer/uipath

Tips:

Property values in the Design Connection section do not need to be quoted.

  • Client ID - The Client ID to use for authentication. This field supports only Strings or String variables.
  • Client Secret - The client secret for authentication. This field supports only SecureStrings or SecureString variables.
  • Base Url - The base URL for the connection. This field supports only Strings or String variables.

Note: For the Base Url, use http://localhost/gallery/api/ unless different. The URL should end with /gallery/api/

Thank you, Marian! Unfortunately I have tried those tips. The information below is what I am entering. This is pulled from the “Private Studio Subscription Keys” on the Alteryx server (see screenshot). Do you think this may be an issue with our Alteryx server?

Based on UiPath documentation, the Alteryx Activity Pack is only compatible with Alteryx Server 2019.4 or later.

Reference: https://docs.uipath.com/activities/docs/alteryx-about#technical-references

Make sure that you transformed the Client Secret value to a SecureString value, otherwise, it will fail.

In order to transform a String to a SecuredString value, you can use an Assign activity that will create a new System.Security.SecureString value type.

new System.Net.NetworkCredential("", "YOUR_STRING_VALUE").SecurePassword

Create a new variable in the Assign activity that will hold the Client Id string value and use it in your connection.