I’ve been retrieving data from Workfront using both API key and Basic Auth. It works fine when I run the script locally, but when I run it inside an AWS Glue job, I get a JSONDecodeError.
On checking the response, it’s actually HTML with the message "Invalid access token" — even though the credentials are correct.
Has anyone faced this before? Could this be related to Glue’s environment, authentication method, or network configuration? Any guidance would be appreciated.