MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

API version invalid for vectorizeImage example #120920

Closed nguyentritai2906 closed 7 months ago

nguyentritai2906 commented 7 months ago

Example in vectorizeImage:

curl.exe -v -X POST "https://<endpoint>/computervision/retrieval:vectorizeImage?api-version=2024-02-01-preview&model-version=2023-04-15" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription-key>" --data-ascii "
{
'url':'https://learn.microsoft.com/azure/ai-services/computer-vision/media/quickstarts/presentation.png'
}"

Calling the service api-version=2024-02-01-preview return: {"error":{"code":"404","message": "Resource not found"}}

While calling with api-version=2023-02-01-preview is successful


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Naveenommi-MSFT commented 7 months ago

@nguyentritai2906 Thanks for your feedback! We will investigate and update as appropriate.

RamanathanChinnappan-MSFT commented 7 months ago

@nguyentritai2906 Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!