This error 5 means "no data". Therefore 400 is returned. Payload has been rejected.
Watch out for invalid quotes. Test your json with an online syntax checker.
eg. Mix of quote types ("”). That is, regular " open quote but irregular 99 closure quote.
eg. Extra quotes. The third " below appears problematic.
"event":
"{
"subscribed_source":"WEB",
@jkat54 asked for the payload with CORRECTED quotes:
{
"host":"some host",
"index": "testing",
"sourcetype":"email",
"time": "2016/11/11 22:26:50",
"source":"project_eagle",
"event":
{
"subscribed_source":"WEB",
"subscribed_flag":"Y",
"email_type":"CUSTOMER",
"last_name":"Raj",
"email_subtype":"SUBSCRIBER",
"email_address":null,
"product_id":"100",
"templateVersion":null,
"first_name":"MARGUERITE",
"last_sub_change_datetime":"2016/11/11 22:26:50"
}
}
... View more