I am using project oxford for Microsoft Face API in JavaScript, when I use the function "identify", I receive "Invalid request body."
client.face.identify({
faces: arrayFaceId,
personGroupId: "groupId",
maxNumOfCandidatesReturned: 1,
confidenceThreshold: 0.8
}).then(function(response){
console.log('Response ' + JSON.stringify(response.personId));
}, function(error){
console.log("Error2"+JSON.stringify(error));
});
Anyone knows how I could fix it?