Unexpected end of JSON input problem

{“statusCode”:400,“message”:“Unexpected end of JSON input”,“error”:“Bad Request”}

What is the reason for this message to appear?

Could be a few things but it all boils down to 2 things

  1. You need to check your requests are sending the correct data
  2. There was an issue with your proxy/connection which caused a one off error

Whats the content of your post request? is the content type set to json? is it properly formated?

  1. Make sure content type: application/json
  2. Make sure post data is json format

Same problem, but POST DATA can be changed to JSON?