Here is a sample structure of my payload:
[
{“name”:“test”,
“number”: 1},
{“name”: “test2”,
“number”: 2.1}
]
Any suggestions?
Here is a sample structure of my payload:
[
{“name”:“test”,
“number”: 1},
{“name”: “test2”,
“number”: 2.1}
]
Any suggestions?
I guess in a JSON webhook array is not allowed at root level. The following works:
{“myRootKey” :
[
{“name”:“test”,
“number”: 1},
{“name”: “test2”,
“number”: 2.1}
]
}
Yes, you are correct.
Currently, the webhook receive trigger can only accept payloads with a top-level object ({}
). Posting an array will result in an Internal Server Error
exception, which is a bug. I have already notified the development team to investigate and fix this issue.