Solved

Create Shared Inbox - Zapier

  • 29 December 2023
  • 1 reply
  • 23 views

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":["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!

icon

Best answer by jason 29 December 2023, 16:51

View original

1 reply

Userlevel 4
Badge +7

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