Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

cognitoUser.getDevice() throws error: Missing required key 'DeviceKey' in params #647

Open
ildar-icoosoft opened this issue Jan 10, 2018 · 0 comments

Comments

@ildar-icoosoft
Copy link

ildar-icoosoft commented Jan 10, 2018

cognitoUser.getDevice({
    onSuccess: function (result) {
        debugger;
    },
    onFailure: function(err) {
        // err: Error: Missing required key 'DeviceKey' in params
    }
});

If I add cognitoUser.getCachedDeviceKeyAndPassword(); to the beginning then everything is ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant