How to fix Microsoft.Azure.CognitiveServices.Vision.Face.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'

Subhan BeyondeBiz 5 Reputation points
2023-10-04T11:28:26.5833333+00:00

I have created a new FACE API and trying to test the API but its showing Microsoft.Azure.CognitiveServices.Vision.Face.Models.APIErrorException: Operation returned an invalid status code 'Forbidden' error, I could find some answers which are saying this is due to exceeding quota, but my API service is created using S0 Standard plan, can someone please help me in this.

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
152 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 14,261 Reputation points
    2023-10-04T23:41:14.3166667+00:00

    @Subhan BeyondeBiz , Thanks for using Microsoft Q&A Platform.

    There could be many reasons causing this issue. I hope you are aware of these things and already had access: https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/overview-identity

    Face service access is limited based on eligibility and usage criteria in order to support our Responsible AI principles. Face service is only available to Microsoft managed customers and partners. Use the Face Recognition intake form to apply for access. For more information, see the Face limited access page. Microsoft has retired facial recognition capabilities that is Face API attributes that predict emotion, gender, age, smile, facial hair, hair, and makeup. Read more about this decision here.

    Is it possible to share more details with us regarding the face service you are using?

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments