Solved

Body Did Not Satisfy Requirements - Zapier

  • 16 January 2023
  • 1 reply
  • 112 views

Badge +2

Hi,

 

I am trying to use Front's api to send a reply to a conversation, but am receiving the error "body did not satisfy requirements"
 

I am using webhooks via Zapier to POST to the API. I've included the text below of the inputs- I tried to match everything as closely as possible to Front's documentation. Could you provide any advice into troubleshooting this error?

 

URL
https://api2.frontapp.com/conversations/cnv_12345/messages

Payload Type
json

Data

to
"person@example.com"
options
{
"archive": true
}
signature_id
"sig_12345"
sender_name
"Dale"
channel_id
"cha_12345"
body
"test"
subject
"test message"
Wrap Request In Array
false
File
Unflatten
true
Basic Auth
Headers
Accept
application/json
Authorization
Bearer xxxxxxxxx
Content-Type
application/json

 

icon

Best answer by Support Engineering 16 January 2023, 16:47

View original

1 reply

Userlevel 1
Badge +5

You'll have more luck using the custom request action, rather than POST, as unfortunately the POST type doesn't support nested objects (your Options param)

 

--Jason

Reply