Hello
In executing the following code using the Javascript SDK
features.scoreBoard.getScoresByUser('xxxxx','xxxxxx',{
success : function(r) {
binder.scope.user.scores = JSON.parse(r).app42.response.games.game.scores.score;
var ids = binder.scope.user.scores.pluck('scoreId');
features.gameData.findDocumentsByQuery('uxxxx,'xxxxxx',(new QueryBuilder()).build("scoreId", ids , Operator.INLIST),{
success:function(r){
var data = JSON.parse(r).app42.response.storage.jsonDoc;
console.log(r);
},
error:function(r){
}
});
},
error : function() {
}
});
I get the subject message code with the following details when I try to findDocumentsByQuery()
{"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}
Please advise as to what is causing this.