Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud batch document translation with file size 19 MB and 531 pages how can i do?

while do the batch document translation using google cloud , a file of type pdf, size 19 MB and 531 pages failing with the batch document translation process giving error like below

WARNING: The task has been cancelled. Please refer to https://github.com/googleapis/google-cloud-java#lro-timeouts for more information
Error during batch translation: Task was cancelled.
java.util.concurrent.CancellationException: Task was cancelled.  

 

please help me, how can i resolve above issue

Thanks

Ganesh

Solved Solved
1 2 243
1 ACCEPTED SOLUTION

i guess this issue might be due to file size or page limits of your document. Better to split the PDF into smaller files and retry. Additionally, you can also check Google Cloud's API limits and increase the timeout settings if possible

View solution in original post

2 REPLIES 2

i guess this issue might be due to file size or page limits of your document. Better to split the PDF into smaller files and retry. Additionally, you can also check Google Cloud's API limits and increase the timeout settings if possible

please suggest me the best approach of dealing with it