I’ve created a custom integration to make requests into Nationbuilder using their V2 API, which requires oauth tokens.
I set up the integration without issue, the connection tests just fine (Via Step 5 Test Your Authentication). I also set up an action, and testing the action works just fine (via API Configuration Step 2 Test Your API Request)
When I try to test the integration via an app though, I am getting the following error:
The app returned "You have encountered a server error.".
What happened (You are seeing this because you are an admin):
Stack trace:
ResponseError: {"status":500,"headers":{"content-type":"application/json; charset=utf-8","retry-after":null},"content":"{\"code\":\"server_error\",\"message\":\"You have encountered a server error.\"}","request":{"url":"https://:censored:9:cf744710c0:.nationbuilder.com/api/v2/signups?slug=:censored:9:cf744710c0:&filter%5Bfirst_supporter_at%5D%5Bgte%5D=2024-03-01&filter%5Bfirst_supporter_at%5D%5Blt%5D=2024-04-01&page%5Bsize%5D=0&stats%5Btotal%5D=count%0D"}}
at _throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/prepare-response.js:38:11)
at outResp.throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/prepare-response.js:95:5)
at throwForStatusMiddleware (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/throw-for-status.js:5:14)
at afterMiddleware (/var/task/node_modules/zapier-platform-core/src/middleware.js:85:35)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /var/task/node_modules/zapier-platform-core/src/create-command-handler.js:29:14
at async promise (/var/task/node_modules/zapier-platform-core/src/middleware.js:98:22)
at async Domain.<anonymous> (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:259:26)
The parameters for the request are exactly the same as I used to test the action’s API Configuration. So what is causing this 500 error?

