Skip to main content

Hey if anyone knows how to fix this I would greatly appreciate the help! 

I’m trying to automate our client onboarding process to create a Front inbox for each client we have. In Zapier (that’s where all of our automation/apis/onboarding stuff is stored) I am doing an API Request (Beta) in Front trying to create the inbox. Below is a screenshot of how it’s currently set up:

 

When I run this I get back the following:
{"_error":{"status":400,"title":"Bad request","message":"Body did not satisfy requirements","details":e"body.name: missing"]}}

Can anyone help me get this error resolved so that it recognizes the name I’m trying to give it? Thanks so much!

Hi Nathan, This should be ab easy fix - just change the way you’ve set your Additional Request Headers to look like the following:

 

This means the header with the key “Content-Type” has the value “application/json”. In your previous version, you were sending two headers with values-only and no key, which was causing the API to not know how to handle them. 

 

Let us know if you have questions!


Reply