Skip to main content
Question

Webhooks message body format

  • April 8, 2020
  • 0 replies
  • 161 views

I'm trying to make Webhooks call into another system and have a question on how to construct the message body section.  I'm using a JSON message format.

The message body needs three parameters.  I've tried entering the  parameters like this:
parm1=xxxx&parm2=xxxxxxxx&parm3=xxxxxx
but the error is {"ERROR":"IMPROPER DATA"}

Also tried this:
parm1=xxxx
parm2=xxxxxxxx
parm3=xxxxxx
also error'ed with {"ERROR":"IMPROPER DATA"}

------------------------------
Jim
------------------------------
This topic has been closed for replies.

  • Registered
  • April 8, 2020
What system are you trying to send thew webhook to? They very likely offer some kind of documentation about what they expect to see in a webhook. Since it isn't Quick Base you are sending to I cannot give you a full answer other than you need to at least format it like JSON. You are going to need more than just the options you want to send most likely, but again this will be in the documentation of whatever you are sending this to.

The error message it gave you is a hint to how to format this.

This is simple JSON and might work.

{
"param1": [Field you want to send data from],
"param2": "Jim",
"param3": "csv"
}

  • Registered
  • April 10, 2020
I am wondering if you figured this out? I have been trying to make a Webhook for 2 days using Pipelines. I get the same errors you do. I have gone through all the documentation, formatted the headers, have the access token, etc.. but still error regarding authorization. I am certain it has something to do with the format of the request that is being sent from Pipelines but I cannot figure out how to see what the final request being sent looks like - 

any further discoveries you make would be extremely helpful - thank you

------------------------------
Ryan Shook
------------------------------