Query Parameters JSON 1:
{
"recipient": {
"id": "{{ $('Webhook1').item.json.body.entry[0].messaging[0].sender.id }}"
},
"message": {
"text": "default response message"
}
}
Query Parameters JSON 2:
{
"recipient": {
"id": "{{ $('Webhook1').item.json.body.entry[0].messaging[0].sender.id }}"
},
"message": {
"text": "{{ $json.response_message }}"
}
}
why Query Parameters JSON 1 work well but Query Parameters JSON 2 not work. (only change is “text”).
Error:
Bad request - please check your parameters
(#100) The parameter recipient is required
From Facebook Graph API
Error code
400
Full message
{ "error": { "message": "(#100) The parameter recipient is required", "type": "OAuthException", "code": 100, "fbtrace_id": "AplAsco33dClH11xIsrzdjm" } }
Help me fix that pls.