Start a new topic

REST API V2 - Intermittent Malformed Responses

We've been using the REST API fine for months, but yesterday calls to retrieve users started returning single character responses like "{", "[" or "1". This only occurs once every 8-10 API calls. Here's an example of a request / response:



Request: GET /user/:appkey/:userId

Response:

* body: "{"

* responseHeaders":["Content-Type: application/json","Date: Wed, 04 Dec 2013 19:14:09 GMT","Server: nginx","X-Kinvey-API-Version: 2","X-Kinvey-Request-Id: XXX","X-Powered-By: Express","Content-Length: 1","Connection: keep-alive"]



Our code retires, and will almost always get the correct JSON back after 2 or 3 attempts (but not always). I've confirmed this both with our API client and plain old CURL. Any ideas on what would cause this? Can you guys confirm this is not an issue on your side? Thanks!

Sure, here are a few:



70e8a28f7a4f401baee41126a0498462

fda6591ac43a40f5b804c51592bca3d8

d4f4baf0918a4ba4b93c8ab7ff626a91
Hi Jay, can you give me the value of the x-kinvey-request-id header returned from one of these requests?
Login or Signup to post a comment