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`.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/0a0a3454-f043-4eef-bf28-7a2cb7a0cd54.png)
What could be the reason for this error and/or how can i further debug/fix this?
Regards,
Daniel