[BUG] Cognitive.Vision.Face Identify MaxNumberOfCandidatesReturned doesn't match docs #14027
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Face
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
You cannot call Identify with maxNumberOfCandidatesReturned > 5
Expected behavior
The documentation says this value can be 1-100 with a default of 10.
https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239
Actual behavior (include Exception or Stack Trace)
Microsoft.Rest.ValidationException: 'maxNumOfCandidatesReturned' exceeds maximum value of '5'.
To Reproduce
Environment:
The text was updated successfully, but these errors were encountered: