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


* 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!

Hi Jay, can you give me the value of the x-kinvey-request-id header returned from one of these requests?
Sure, here are a few:



Login or Signup to post a comment