This topic was automatically generated from Slack. You can find the original thread here.
Hi , I have a workflow that used to work but now throw a 401 error accessing the exernal API. I have reset the API key and updated it, I have tested the api key manually and it seems to work. When I try to see how pipedream is constructing the payload URL by outputting it to console, the API key comes up as undefined.
Is it really undefined (if so, thats my problem and how do i fix it?) or is it a security feature to not display the apikey?
Please help, I’m at my wits end.
its not integrated. the key is stored in /settings/env-vars and accessed via process.env.API_KEY
but accessing it that way and outputting to console returns undefined
yes, but if its relevant, originally this workflow was just sitting in the workspace. recently i was getting popups about how new workflows have ot be in projects so I moved the workflow into a new project. same workspace though.