Flowdock: REST API - Getting an error: "nil is not a supported event"

Document ID : KB000105837
Last Modified Date : 10/07/2018
Show Technical Document Details
Question:
When sending a message to my flow using REST API , getting an error: "nil is not a supported event".

Here is what we're doing:
User-added image
User-added image

This results in this 400 Bad Request status code and this error message:

User-added image
Answer:
The reason for this error is your input raw data format is specified as 'text'. It needs to be changed to 'JSON'.

User-added image

This will result successfully:

User-added image
Additional Information: