Skip to main content
Question

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

  • 10 July 2024
  • 1 reply
  • 46 views

Hello,

I'm developing a Zapier app using session authentication. When attempting to authenticate a user session,  i successfully receive the ‘access_token’ in the response, but zapier throws the error "Response needs to be JSON, form-urlencoded or parsed in middleware". How can I resolve this issue? Are there specific configurations needed to handle authentication responses in Zapier? 

1 reply

Userlevel 4
Badge +9

Hey @EGharoon 👋

Expected responses types when building on the Zapier Platform are listed here: https://platform.zapier.com/build/response-types

You can check out the Monitoring tab to see the response your API is actually sending back: https://platform.zapier.com/build/test-monitoring#monitoring

To modify that into an object as is required for the auth test, you can switch to Code Mode to make the change: https://platform.zapier.com/build/code-mode 

 

Reply