amazon-cognito-js
amazon-cognito-js copied to clipboard
CognitoSync data set Records issue
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!
I am facing the same problem. Please suggest some fix to it. Thanks.