61
Views
7
Comments
[Amazon Textract] Could not load type Amazon.Runtime.IDefaultConfiguration
Question
amazon-textract
Service icon
Forge asset by OutSystems
Application Type
Service

Hello everyone, I'm trying to use the textract extension to extract data from a document and I'm getting this error.




Someone have an idea about this issue?


regards,
Daniel

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Daniel,

Did you follow all instructions from the documentation tab of the Forge component?

Regards,

Daniel

UserImage.jpg
Daniel Nogueira

Hi @Daniël Kuhlmann , thanks for you reply. Yes, I did. 
Now, I'm getting "Invalid credentials to Amazon Textract service."

I've configured a new user on my aws account with full permissions on textract services, as you can see here:


Invalid credentials to Amazon Textract service.


2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
UserImage.jpg
Tarik Ayoub

Hi Daniel,

Can you please check if you are providing valid credentials to the AWSCredentials input parameter of the connector action you are consuming?

Best regards,

Tarik

UserImage.jpg
Daniel Nogueira

Hi @Tarik Ayoub , even when I pass these parameters, it does not work. For example, I've those paramters configured on service center, in site properties. It means, if I do not pass any value, the value used on service center should be used. But, I'm getting invalid credentials. 
If I set the credentials in the connector action, I get this error:

UserImage.jpg
Tarik Ayoub

Hey, thanks for your reply. You should provide the credentials via the input parameter.

Apropos the error "Could not load type <type> from assembly <assembly-name>":

Do you have any other AWS connector installed on that same infrastructure? Can you make sure those are all up to date? Different extensions consuming different versions of the same assembly can sometimes cause runtime errors like that.

2022-08-17 12-04-31
Eugene Nepangue

Hi! We've encountered this similar issue and we're using multiple connectors on our infrastructure. How can we update the sdk version safely? since there are multiple apps using this connector.

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