19
Views
2
Comments
Solved
[Amazon Textract] AWS Textract - Async Doc Analysis returning empty key-value pairs
amazon-textract
Service icon
Forge asset by OutSystems
Application Type
Service

Hello!

I appear to be receiving empty key-value pairs from a sample invoice.

If I test it through AWS's textract demo, they manage to fetch the values.

I am positive the code isn't incorrect since I retrieve the values in the form of "LINE" and "WORD", but not in "KEY_VALUE_SET".

It would be helpful to use these since using LINE or WORD doesn't easily allow me to match each field to it's corresponding value.

A better alternative would be using the Expensive Analysis method, however it does not seem to be available yet through this component (asynchronously that is).


I'm leaving the OML available (will need to fill in the AWS credentials in the site properties though).


Is anything wrong on my side?


Thank you

OCRTest.oml
2025-02-20 09-44-55
Rodrigo Alves
Solution

Managed to overcome this by editing the extension and adding the methods required.

2025-05-14 08-11-29
Aakash Baskar

Hi Can you share the updated OAP.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.