There are 5 parts to this example:
- UrlUsernamePassword.yxdb
Stores 1 record with 3 fields: url, username, password.
Currently contains values that need to be replaced with valid url, username, password in order to test the example.

- UpdateUrlUserPassword.yxmd
Used to update the yxdb, above

- BasicAuthenticationViaHeaders.yxmc
This macro takes 3 inputs: url, username, password
Connects using the Authorization: Basic header

- BasicAuthenticationNoHeader.yxmc
This macro takes 3 inputs: url, username, password
Connects to the target server using basic authentication without the Authorization header, instead using an Action to update the username and password directly into the Download Tool's UserName and Password attributes.

- TestMacros.yxmd
Connects the UrlUsernamePassword.yxdb as an input to each of the above macros in order to test them.

When I test against a known working endpoint using a valid url, username, password I receive the following:
Status: "401"
Message: "Authentication failed. Provide a valid user ID and password."
When I say "known working endpoint" I mean that I can successfully connect to the endpoint using the Alteryx Download tool in the conventional way, which confirms that url, username, and password are correct.


Can someone take a look at this and help me understand why my example is not working? Thank you!!