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

Stiching API often sends 500 #120362

Closed macieyng closed 7 months ago

macieyng commented 7 months ago

Hi, I'm not sure to whom I should report this, so redirect me there if that's a wrong place.

I'm having an issue with some requests. I was testing if I get the same results with identical input and it turned out that I wasn't able to confirm that due to the fact that I often get 500 responses saying as much as {"error":{"code":"InternalServerError","message":"Internal server error"}}. I guess there could be an issue in your backend. Basically sometimes it's 200, but often it's 500. Via Portal I learned that I'm not hitting the rate limit.

Additional question: is there a release page for Stiching API? Which version should be used? Response header includes a few of them. It seems like the recent one is 2024-02-01. Should I use this one instead? That's a bit confusing...

Request data (REDACTED):

{"images": ["https://***.blob.core.windows.net/***/***.jpg?***<sas token>", "https://***.blob.core.windows.net/***/***.jpg?***<sas token>"]}

Sent to

POST https://***.cognitiveservices.azure.com/computervision/imagecomposition:stitch?api-version=2023-04-01-preview

Response headers

{
    "transfer-encoding": "chunked",
    "content-type": "application/json; charset=utf-8",
    "request-id": "730b8402-2ed5-41f5-b884-b47ba10f3a6a",
    "api-supported-versions": "4.0-pre1,2022-07-31-preview,2022-10-12-preview,2023-02-01-preview,2023-04-01-preview,2023-06-01-preview,2023-07-01-preview,2023-10-01,2024-02-01",
    "x-envoy-upstream-service-time": "5241",
    "csp-billing-usage": "CognitiveServices.ComputerVision.Transaction=1",
    "apim-request-id": "730b8402-2ed5-41f5-b884-b47ba10f3a6a",
    "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
    "x-content-type-options": "nosniff",
    "x-ms-region": "East US",
    "date": "Fri, 01 Mar 2024 14:49:47 GMT",
}

Document Details

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

AjayBathini-MSFT commented 7 months ago

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

AjayBathini-MSFT commented 7 months ago

@macieyng Thank you for your feedback! I recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. [Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1) Thank you for your time and patience throughout this issue.