ERROR: Failed to decode parameters as a json object. Make sure the intent is followed by a proper json object. Error: Expecting property name enclosed in double quotes

Hi there,

I am getting this error:

Failed to decode parameters as a json object. Make sure the intent is followed by a proper json object. Error: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

When sending this message via POST:

http://localhost:5005/webhooks/rest/webhook

{
     "sender": "test_user",
     "message": "/greet{'name': 'megan'}"
}

Use double quotes inside the payload, as the error suggests, since it should be a valid JSON itself. :slight_smile:

{
     "sender": "test_user",
     "message": "/greet{\"name\": \"megan\"}"
}