This topic was automatically generated from Slack. You can find the original thread here.
hey guys, getting an issue with the apollo api using the pipedream proxy. It’s saying that the api key is not being passed in correctly. Info on the error and the code in the thread
Error searching people in Apollo: Error: HTTP error! status: 422, body: {"error":"API key must be passed in the X-Api-Key header for security reasons. Refer to the documentation for more details: https://docs.apollo.io/docs/test-api-key","error_code":"INVALID_API_KEY_LOCATION"}\n' +
' at P.makeRequest (file:///root/.cache/riza-runtimes/01JY31BFEFPE0AF1WTV0GNEZR3/vendor/esm.sh//@pipedream/sdk@1.6.9/denonext/sdk.mjs:3:2379)\n' +
' at eventLoopTick (ext:core/01_core.js:178:7)\n' +
' at async execute (file:///main.js:34:22)\n' +
' at async main (file:///main.js:82:34)\n' +
' at async file:///main.js:103:1\n' +
'Error: HTTP error! status: 422, body: {"error":"API key must be passed in the X-Api-Key header for security reasons. Refer to the documentation for more details: https://docs.apollo.io/docs/test-api-key","error_code":"INVALID_API_KEY_LOCATION"}\n' +
' at P.makeRequest (file:///root/.cache/riza-runtimes/01JY31BFEFPE0AF1WTV0GNEZR3/vendor/esm.sh//@pipedream/sdk@1.6.9/denonext/sdk.mjs:3:2379)\n' +
' at eventLoopTick (ext:core/01_core.js:178:7)\n' +
' at async execute (file:///main.js:34:22)\n' +
' at async main (file:///main.js:82:34)\n' +
' at async file:///main.js:103:1',
duration: 1077
}