I’m encountering an issue while working with UiPath’s Extract Document Data activity. When attempting to execute, I receive the following error message: *Extract Document Data: Request on 'StartDigitization' failed with status code: Unauthorized. CF-RAY: 8809e9032c7c2e46-BOM. AppId: .*
Has anyone encountered this error before, and if so, could you provide some guidance on how to troubleshoot and resolve it?
The most common cause is an incorrect or invalid API key. Ensure the API key you’ve entered in the “Document Understanding API Key” property of the “Extract Document Data” activity is correct and matches the one associated with your UiPath account. Double-check for any typos or missing character
The latest UiPath Document Understanding package introduces a streamlined approach for data extraction. Instead of the multi-step process involving Load Taxonomy, Digitize, Classification, Extraction, Validation, Train, and Export, you can now leverage the Extract Document Data activity for a single-step solution.
This activity empowers you to extract the information you need using either:
Out-of-the-Box UiPath Pre-Trained Models: These pre-trained models from UiPath handle various document types and data points, offering a quick and convenient way to get started. Generative Extractor: For more specific needs, you can create a custom extractor using the generative approach.
Experimenting with the Free Trial: AI Unit Limitations
I opted for the free 60-day Pro trial license to test this functionality. While I was initially successful in extracting data, I encountered an error after making 3-4 requests. Upon further investigation, I discovered that the Pro trial comes with a limited number of AI units (10 in this case). Exceeding this limit leads to the error you experienced.