Error at API Facial

João Lucas Sousa Reis 0 Reputation points
2025-04-09T15:24:15.28+00:00

Hello,

I'm getting this error when I Try to call the API Facial services.

[2025-04-09 10:47:56] local.INFO: [CURL HELPER] URL chamada: https://cog-eastus-brasal-dev-faceid-premium.cognitiveservices.azure.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&recognitionModel=recognition_04&returnRecognitionModel=true&detectionModel=detection_03&faceIdTimeToLive=86400   [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Método: POST   [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Tempo de resposta: 121.726 segundos   [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Status HTTP: 403   [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Info:  {"url":"https://cog-eastus-brasal-dev-faceid-premium.cognitiveservices.azure.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&recognitionModel=recognition_04&returnRecognitionModel=true&detectionModel=detection_03&faceIdTimeToLive=86400","content_type":"application/json","http_code":403,"header_size":288,"request_size":0,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":121.726022,"namelookup_time":0.113273,"connect_time":0.273077,"pretransfer_time":0.682308,"size_upload":405237.0,"size_download":362.0,"speed_download":2.0,"speed_upload":3329.0,"download_content_length":362.0,"upload_content_length":405237.0,"starttransfer_time":121.725993,"redirect_time":0.0,"redirect_url":"","primary_ip":"20.232.91.180","certinfo":[],"primary_port":443,"local_ip":"192.168.0.11","local_port":51080,"http_version":3,"protocol":2,"ssl_verifyresult":0,"scheme":"HTTPS","appconnect_time_us":681871,"connect_time_us":273077,"namelookup_time_us":113273,"pretransfer_time_us":682308,"redirect_time_us":0,"starttransfer_time_us":121725993,"total_time_us":121726022,"effective_method":"POST","capath":"","cainfo":""}  [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Headers enviados:  ["Content-Type: application/octet-stream","Ocp-Apim-Subscription-Key: 228a13d9b5154cbaaf3c2a3311820446"]  [2025-04-09 10:47:56] local.INFO: [CURL HELPER] Response Body: {   "error": {     "code": "InvalidRequest",     "message": "Invalid request has been sent.",     "innererror": {       "code": "UnsupportedFeature",       "message": "Feature is not supported, missing approval for one or more of the following features: Identification,Verification. Please apply for access at https://aka.ms/facerecognition"     }   } }

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,619 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prashanth Veeragoni 5,245 Reputation points Microsoft External Staff Moderator
    2025-04-11T13:39:07.4233333+00:00

    Hi João Lucas Sousa Reis,

    I'm glad that your issue is resolved and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Ask: Error at API Facial

    Solution: The issue is resolved. That you confirm that it worked.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.

     

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.