I've been working to set up some Form Processing functions using AI Builder -- just looking to capture various fields on a PDF file that we receive daily and store the data in an Excel table.
I'm having an issue with getting the Form Processing step to work properly. I was able to train and build my function, although I did have to "trim" down some of the PDF files to the relevant pages in order to get the training and field selection to work properly. The files are generally 20-25 pages and 1-2 MB, although they do have a LOT of data and fields crammed into several pages.
When the flow runs, I get the following error after about 50-60 seconds of processing: "BadRequest". The full error text is below.
Does this just mean that my file are too large/complex for AI Builder to process? Is there any way to resolve or work around this error?
Hi @rcpratt88,
That error usually indicates that the document you are trying to process is too large in number of pages, so the recommendation here to process PDFs with only the pages you want to extract data from.
Having said that, we are actively working on increasing support for larger files.
Now getting the same when it was working earlier. No error part suggests it's size related tho, and at 80kb and two pages PDF I'd be surprised....
Hi @andyinv,
Thanks for letting us know about this. We are investigating an issue impacting certain customers regarding timeouts. I'll update this thread with any update.
Hello again @andyinv,
The timeout issue for small documents is now fixed. Apologies for the impact of this incident.
Thanks @JoeF-MSFT - couple hours I spent staring at that wondering if I'd changed anything (I was still developing the flow when it happened - ofc, it only started the minute I went to video the process to send to the user to illustrate the completed task...)
Glad it wasn't me !
Hi @JoeF-MSFT ,
Just had a multiple flows failed due to the same error.
{
"error": {
"code": "0x80040265",
"message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"DependencyFailure\",\"message\":\"Timeout on Cognitive backend\",\"properties\":{\"DependencyHttpStatusCode\":\"408\"}}}"
}
}
Any idea when this will be fixed, or is this an server crash issue?
Hi Joe I am running into the same issue, it was working 1 hour ago and now it is not working with the same files.
is there an issue now?
I too am having the same issues. First happened last night approx 9pm then again this morning.
Hi all,
I want to apologize for these issues yesterday and today. We're currently investigating what has caused this and working on ensuring this doesn't cause more inconveniences in the future. The reliability of AI Builder is a top priority for us, and we know this is what you expect for a Microsoft service.
Thank you for your understanding and apologies once again for the impact of this incident.
Just jumping on the "Me too" bandwagon...
I've had three failures of the past week, my PDFs are actually single page and about 72KB in size.... There are simple training certificates.
It's kinda hard to justify investing in this when availability is so...... flakey. 😕
Thing is ... if a re-execute the flow it works fine second time round
I'm also getting this error on small 2 page documents now and re-running the flow does not work either.
Hi Garethterb, We unfortunately hit a scalability issue this morning for customers using the Europe geography. I'll echo what Joe wrote earlier by saying that solving these types of problems is top of mind of us. We identified a couple of issues which were fixed after the previously reported incidents but it seems we still have some to work through. Apologies for the inconvenience, please do let us know how things are going for you now.