Hi!
I'm facing a problem when I try to run a watcher.
"body": "{\n \"error\": {\n \"code\": 400,\n \"message\": \"Invalid JSON payload received. Unexpected token.\\nsomething\\n^\",\n \"status\": \"INVALID_ARGUMENT\"\n }\n}\n"
This is my actions:
"actions": [
{
"id": "my_webhook",
"type": "webhook",
"status": "failure",
"reason": "received [400] status code",
"webhook": {
"request": {
"host": "chat.googleapis.com",
"port": 443,
"scheme": "https",
"method": "post",
"path": "v1/spaces/AAAAHS0yhM4/messages",
"params": {
"key": "mykey",
"token": "mytoken"
},
"headers": {
"Content-Type": "application/json"
},
"body": "something"
},
Please, could some one give me a light on this? Thanks so much!