{"error":"IncompleteRequestBody","description":"The request body is either missing or incomplete","debug":"Request came in with a missing body"}
1 Comment
Gal
said
over 7 years ago
You are receiving this response because your DELETE request included the "Content-Type: application/json" header, which causes the server to expect a JSON body. If you remove the header (as shown in the [documentation](http://devcenter.kinvey.com/rest/guides/datastore#Deleting)), you will not receive the error.
Gal
DELETE /appdata/kid_Vuydf234AS/col123/533ff3f38sf3343hr1
HTTP/1.1
Host: baas.kinvey.com
Content-Type: application/json
Authorization: Kinvey 498ufgfdjgh-fgfkghdjgkf-4t3gfgfd48GJFKJGFHg/gdgfjkghdfgds/dLfkd8eM=
X-Kinvey-API-Version: 2
And receiving this response:
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Date: Mon, 23 Sep 2013 04:21:04 GMT
&nb sp;Server: nginx
X-Kinvey-Request-Id: 572f9476f79742788edb13d028dcd194
X-Powered-By: Express
Content-Length: 144
Connection: keep-alive
{"error":"IncompleteRequestBody","description":"The request body is either missing or incomplete","debug":"Request came in with a missing body"}