Even if this error is known, I was not able to solve my issue!
The reset Service is declared in this code :
public void addProductToShoppingBag(JSONObject object) throws JSONException
You want to set
contentType. Your header is not formatted properly
The proper header needs to include
'Content-Type' in it and jQuery will take care of that for you