amazon-archives / amazon-cognito-js

Amazon Cognito Sync Manager for JavaScript
http://aws.amazon.com/cognito
Apache License 2.0
202 stars 83 forks source link

CognitoSync data set Records issue #41

Open patrik-piskay opened 7 years ago

patrik-piskay commented 7 years ago

Hi,

when requesting data from a data set (dataSet.get) we receive a correct response containing Records array which is not empty. Problem is, when we do this call the second time, Records array is empty.

This is a problem for us as we do this dataSet.get call after user log in to fetch user-related data. Then when the user logs out and logs in again, we do the same call (it might be for another user) but the response's Records is empty (even though the data are stored in Cognito).

Is there something that we are missing?

Thanks!

dap129 commented 7 years ago

I am facing the same problem. Please suggest some fix to it. Thanks.