Hi @it_9582 ,
Thanks for the additional information.
The reason this is happening is because these endpoints do not return a WWW-Authenticate: Basic ... header value when responding with 401.
This behavior intentional, as our preferred authentication is using an API Key header value, not Basic credentials. Basic is an alternative option and can be used when you can't easily pass a header.
We are not willing/able to change this behavior, as it would require changing code on a substantial number of endpoints and may break user integrations that have been relying on existing behavior.
So I'm afraid this means you'll need to do one of the following:
- add the
--auth-no-challengeoption - use
wget --header="X-ApiKey: <api-key>" "<Download path>"instead - use
curlinstead - use
pgutilinstead
Cheers,
Alana