Empty response: face Identify API (v1.0-preview) using the whole personDirectory as candidadtes (passing the personIds parameters with an array [*])

Pablo José López Estigarribia 26 Reputation points
2022-06-13T18:24:47.207+00:00

Hello!
I am using the Face identify operation, with the API v1.0-preview. There is an option to use a whole personDirectory as possible candidates to match a given faceId. In order to do so, you should use the parameter --> "personIds": ["*"] inside the body.
The problem is that I am getting an empty response [ ] with the "personIds": ["*"] parameter, however, if I explicitely pass a list of personIds (which are inside the personDirectory), the request works, and I am able to get the right candidate as output.
My FaceAPI resource is located in the west-central region.

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
152 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,374 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pablo José López Estigarribia 26 Reputation points
    2022-06-21T16:19:14.473+00:00

    Hello dear @YutongTie-MSFT , sorry I didn't reply sooner to your answer. The service started working normally again later the same day.

    However, now im facing the issue that access to PersonDirectory API V1.0-preview is throwing a 403 - UnsupportedFeature Error.

    The service was working fine until last week, but now I am not able to perform more requests, and I keep getting the same "403 - UnsupportedFeature Error" even to list the persons inside the persondirectory.

    Did Azure change anything regarding the access to the Face v1.0-preview API ? My resource is located in west-central US, so this API should be accessible according the documentation:
    https://westcentralus.dev.cognitive.microsoft.com/docs/services/face-v1-0-preview/operations/5f066755c65fefa4a43a748a

    Since this problem is not exactly the same as the title in the post, I can open a new Question. Let me know.

    Thank you for your time!

    Regards,

    Pablo.