Webhook - error 400 Bad Request

I think my webhook action is well created, but I get this error.

My webhook body

{
“Action”: “Edit”,
“Properties”: {
“Locale”: “en-US”,
“Location”: “47.623098, -122.330184”,
“Timezone”: “Pacific Standard Time”
},
“Rows”: [
<<Start: FILTER(“Celo”, ([Key] = [key1]))>>
{
“Estado”: “Inseminada”

},
<<End>>

]
}

what am I missing?

Solved Solved
0 3 1,131
1 ACCEPTED SOLUTION

@Roberto_Varela
You need to include the [KeyColumn] explicitly in the payload, that’s why you’re getting the HTML 400 :: Bad Request error:

{
	“Action”: “Edit”,
	“Properties”: {
		“Locale”: “en-US”,
		“Location”: “47.623098, -122.330184”,
		“Timezone”: “Pacific Standard Time”
	},
	“Rows”: [
		<<Start: FILTER(“Celo”, ([Key] = [key1]))>>
		{
			“KeyColumnName”: “<<[KeyColumnName]>>”,
			“Estado”: “Inseminada”
		},
		<<End>>
	]
}

View solution in original post

3 REPLIES 3

@Roberto_Varela
You need to include the [KeyColumn] explicitly in the payload, that’s why you’re getting the HTML 400 :: Bad Request error:

{
	“Action”: “Edit”,
	“Properties”: {
		“Locale”: “en-US”,
		“Location”: “47.623098, -122.330184”,
		“Timezone”: “Pacific Standard Time”
	},
	“Rows”: [
		<<Start: FILTER(“Celo”, ([Key] = [key1]))>>
		{
			“KeyColumnName”: “<<[KeyColumnName]>>”,
			“Estado”: “Inseminada”
		},
		<<End>>
	]
}

it worked perfect, thanks for your help

You’re welcome.

Top Labels in this Space