Question

Error on turning Zapier on

  • 19 February 2021
  • 2 replies
  • 69 views

Badge

Hi,

My subscription endpoint is using azure sql database to store subscription information in the database. When I turn the zapier on to test my custom trigger that is using this subscription endpoint I get below error.

When I test the endpoint locally it works fine.

Please help.

 The app returned "An error has occurred.". What happened (You are seeing this because you are an admin): Stack trace: ResponseError: {"status":500,"headers":{"content-type":"application/json; charset=utf-8"},"content":"{\"Message\":\"An error has occurred.\"}","request":{"url":"https://test.azurewebsites.net/api/abc/abcsubscribe?API_Key=password&url=https%3A%2F%2Fzapier.com%2Fhooks%2Fstandard%2F9271652%2Fa1a1f76b6642437685e520f4cbb99323%2F"}} at Object.throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/throw-for-status.js:7:11) From previous event: at executeHttpRequest (/var/task/node_modules/zapier-platform-core/src/execute.js:22:6) at execute (/var/task/node_modules/zapier-platform-core/src/execute.js:90:12) at input (/var/task/node_modules/zapier-platform-core/src/create-command-handler.js:29:14) at Object.beforeMiddleware.then.newInput (/var/task/node_modules/zapier-platform-core/src/middleware.js:90:22) at bound (domain.js:402:14) at Object.runBound (domain.js:415:12) From previous event: at input (/var/task/node_modules/zapier-platform-core/src/middleware.js:89:45) at loadApp.then.appRaw (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:215:18) at bound (domain.js:402:14) at runBound (domain.js:415:12) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) at process.topLevelDomainCallback (domain.js:126:23) From previous event: at Domain.handlerDomain.run (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:200:10) at Domain.run (domain.js:349:14) at Runtime.handler (/var/task/node_modules/zapier-platform-core/src/tools/create-lambda-handler.js:192:19) at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +12

Hi @krupahthakker, thanks for your question!

 

Could I ask whether you’re using the Webhooks and Code by Zapier apps to build your Zap or if you’re building your own custom Azure integration? Thanks!

Hello - I am trying to build a with my own custom app. I was facing the same issue. ResponseError: {"status":500,"headers":{"content-type":null},"content":"","request":{"url":"https://erpqa.atlantissolution.com:5007/api/v1/enquiryapi/get/"}} at Object.throwForStatus (/var/task/node_modules/zapier-platform-core/src/http-middlewares/after/throw-for-status.js:7:11)

I was working with micro services. Using Oauth for authentication (different api end point). I have used code flow. every thing fine in local. at step in Zaper triggers configuration , “Test your API Request” with another api end point, throwing above exception. I appreciate if any one help in this regards.