Start a new topic

Why am I getting an "IncompleteRequestBody" error when sending a DELETE request?

Deleting entities via the REST API seems to be broken. I am sending the following request:

DELETE /appdata/kid_Vuydf234AS/col123/533ff3f38sf3343hr1



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"}
1 Comment

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](, you will not receive the error.
Login or Signup to post a comment