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!

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
371 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,833 questions
{count} votes

1 answer

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

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


Your answer

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