Question

"Response needs to be JSON, form-urlencoded or parsed in middleware."

  • 8 February 2023
  • 0 replies
  • 570 views

Userlevel 1

Hello,

i’m currently working on creating a zapier app with the help of the zapier-cli.
During the last step of authentication (“getAccessToken”), i successfully receive the ‘access_token’ in the response, but zapier throws an error, saying: "Response needs to be JSON, form-urlencoded or parsed in middleware.".

The response from our backend looks like this: {"access_token":"CodeGoesHere"} and sends the Content-Type header `application/json`.

What could be the reason for this error and/or how can i further debug/fix this?

 

Regards,

Daniel


0 replies

Be the first to reply!

Reply