Request documentai recognition is slow or error

Request Document AI encountered a problem that IO. GRPC. StatusRuntimeException: DEADLINE_EXCEEDED: Deadline exceeded after 58.468507900 s. [closed = [], the open = [[remote_addr=us-documentai.googleapis.com/142.251.2.95:443]]]. Either an error timeout or it takes a long time to return a result
0 1 285
1 REPLY 1

Hi @The_Siege_lion

Welcome and thank you for reaching out to our community.

It appears that your Document AI service did not respond to the request within the allotted time, it can be related to a few contributing factors.

  • The resources allocated for the service might be temporarily exhausted which will resolve itself at a later time
  • The service and client might be having a slow or unreliable network connectivity at the time
  • The service is having difficulty processing the request within the  allotted time because it is too large or complex

Kindly have the time to review Document AI's Outages & Latency document for more information. You can also reach out to Document AI support for better assistance.