[Amazon Rekognition Connector] Encountered error Could not load type 'Amazon.Runtime.IDefaultConfiguration'
Service icon
Forge component by Platform Maintenance
Application Type

We're integrating the Amazon Rekognition in our application, so we implemented it to the DEV Environment and it works fine without any issues.

Then we proceed to the deployment of feature to the QA Environment. But we encountered this issue:
Could not load type 'Amazon.Runtime.IDefaultConfiguration' from assembly 'AWSSDK.Core, Version=, Culture=neutral, PublicKeyToken=885c28607f98e604'.  when calling the API.

For additional information, we have 3 Amazon connectors on our environment.

  • Amazon Rekognition Connector 
  • Amazon S3 Connector
  • Amazon SNS Connector

All of the modules in both environments are updated to the latest versions. No dependencies issues. Both environments are using the same API Keys. We've already tried the redeployment of modules but it is still not working.


The error you're reporting usually happens in a DLL Hell scenario. 

This usually happens when you have more than one version of a library being used on your applications. In this case, it seems to be the AWSSDK.Core.dll since that is what the error points to. 

You'll have to guarantee that all extensions are referencing the same dll version of the AWSSDKCore.dll to avoid this sort of problems.

You can read more about it here : https://success.outsystems.com/support/troubleshooting/application_development/library_hell_why_are_changes_in_a_producer_not_reflected_in_the_consumers/ 

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