While utilizing Microsoft Face API with project oxford in JavaScript, I encountered an issue when using the "identify" function resulting in an error message of "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));
});
Does anyone have any suggestions on how to resolve this issue?