I’m trying to test a new trigger, but the GET request from Zapier doesn’t seem to include the API key.
It’s including the key just fine when I test authentication, but when I test my trigger i get the long error indicating no api key sent:
Unable to pull paymentsPlease reload the page. If the issue persists, troubleshoot error or contact Support.
Error code: Error while retrieving: The app returned "Invalid API Key". What happened (You are seeing this because you are an admin): Stack trace: ResponseError: {"status":405,"headers":{"content-type":"text/html; charset=UTF-8","retry-after":null},"content":"Invalid API Key","request":{"url":"https://api.donationpay.org/v1.0/zapier/new_payment/performlist.php"}} at _throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/prepare-response.js:13:11) at outResp.throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/prepare-response.js:68:5) at throwForStatusMiddleware (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/throw-for-status.js:5:14) at Object.<anonymous> (/var/task/node_modules/zapier-platform-core/src/middleware.js:80:37) From previous event: at /var/task/node_modules/zapier-platform-core/src/middleware.js:77:26 at Array.reduce (<anonymous>) at afterMiddleware (/var/task/node_modules/zapier-platform-core/src/middleware.js:76:21) at Object.<anonymous> (/var/task/node_modules/zapier-platform-core/src/middleware.js:94:18) From previous event: at Object.<anonymous> (/var/task/node_modules/zapier-platform-core/src/middleware.js:92:10) From previous event: at /var/task/node_modules/zapier-platform-core/src/middleware.js:89:45 at /var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:212:18 at bound (node:domain:433:15) at runBound (node:domain:444:12) at process.processImmediate (node:internal/timers:476:21) at process.topLevelDomainCallback (node:domain:161:15) at process.callbackTrampoline (node:internal/async_hooks:126:24) From previous event: at Domain.<anonymous> (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:196:10) at Domain.run (node:domain:389:15) at Runtime.handler (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:192:19) at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29)
On my end, I’m logging the request headers, and they don’t include an api key:
Request headers: {"Host":"api.donationpay.org","Connection":"close","Accept-Encoding":"gzip,deflate","User-Agent":"Zapier","Accept":"application\\/json"}
Not sure what I’m doing wrong here, any guidance much appreciated!