Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS&FaceAPI:azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent. #346

Open
810220822 opened this issue Jun 26, 2023 · 1 comment

Comments

@810220822
Copy link

I am trying to run the Azure Cognitive Services Face API Quickstart code using the GitHub code provided by Microsoft. However, I am running into an error while running the code. Specifically, the error occurs in the following line of code:

detected_faces = face_client.face.detect_with_url(url=single_face_image_url, detection_model='detection_03')

The error message that I am getting is as follows:

azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.

I have checked my API key and endpoint, and they are correct. I have also checked the request parameters and format, and they seem to be correct as well.

Can someone please help me understand what could be causing this error, and how to fix it?

@810220822
Copy link
Author

this url unusable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant