READ Task canceled: system.Threading.Tasks.TaskCanceledException: A task was canceled

Baruch Shadrouz 31 Reputation points
2021-03-08T16:14:15.523+00:00

I am getting some READ OCR errors that is printing the message shown in the screenshot below. I am using the code provided by Microsoft in their getting started guide. I am running the code with multiprocessing (4 cores) so there are multiple calls to the API at a time. I have the plan that allows me 10 calls per second so I don think making too many calls per second is the problem.
75470-image.png

Any help would be appreciated!

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform

Azure Vision in Foundry Tools

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,181 Reputation points Moderator
    2021-03-08T18:57:40.463+00:00

    Also, ensure that you are using a 1 second interval between requests.

    Was this answer helpful?


Your answer

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