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! Go to 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>>
]
}
@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.
User | Count |
---|---|
43 | |
30 | |
24 | |
23 | |
13 |