Thanks for reaching out. The error doesn't have anything to do with the key. I tried using a sample bing image url and it works fine. It seems your url is invalid, it should look like this:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Keys are the same as the resource am using.
I Try to cross-check on your provided page but Now I get below mention error.
Request:
POST https://FaceAPIDemoProject.cognitiveservices.azure.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&recognitionModel=recognition_01&returnRecognitionModel=false&detectionModel=detection_01 HTTP/1.1
Host: FaceAPIDemoProject.cognitiveservices.azure.com
Content-Type: application/json
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
{
"url":"https://drive.google.com/file/d/1LtHrXkxXa7ON33_E8Lxpa-DwNnTS-vtI/view?usp=sharing"
}
Response:
x-envoy-upstream-service-time: 625
apim-request-id: 64ff3a2d-f74e-4254-bba5-682e99237000
Strict-Transport-Security: max-age=31536000;
CSP-Billing-Usage: CognitiveServices.Face.Transaction=1
Content-Type: application/json; charset=utf-8
"error": {
"code": "InvalidImage",
"message": "Decoding error, image format unsupported."
}
Is anything wrong with my ImageURL
Thanks for reaching out. The error doesn't have anything to do with the key. I tried using a sample bing image url and it works fine. It seems your url is invalid, it should look like this: