amazon-cognito-js icon indicating copy to clipboard operation
amazon-cognito-js copied to clipboard

Syncronizing with integers in datasets causes errors

Open BlaineEhrhart opened this issue 9 years ago • 1 comments

I realize that integers probably don't belong in datasets but the fact that put and get accepts them and the error only shows up when you synchronize was a little frustrating. Then tracing down the issue was difficult because the error in the console said "Error: Synchronized failed: exceeded maximum retry count.". So there was no indication of why it had failed.

dataset.put('newRecord', 12, function(err, record) {
    console.log(record);
    // Synchronize at some point... EXPLOSION!
});

edit: styling js

BlaineEhrhart avatar May 06 '15 19:05 BlaineEhrhart

This may be a duplicate of https://github.com/aws/amazon-cognito-js/issues/6

sbussard avatar Feb 08 '17 16:02 sbussard