Skip to content

.net 8 lambda running in Docker - "Method not found: 'System.String Amazon.Util.Internal.InternalSDKUtils.BuildUserAgentString(System.String, System.String)'." When trying to retrieve secrets #3322

Answered by normj
alex182 asked this question in Q&A
Discussion options

You must be logged in to vote

The BuildUserAgentString(System.String, System.String) was added back in December 14, 2023 as part of version 3.7.300.19 of AWSSDK.Core. As part of that release all service packages were updated to call that new method. So if you have new service assemblies but a version of AWSSDK.Core that is older then that version you will get this error.

I would suggest looking in your deployment bundle at the *.deps.json file and see what is causing the older version of the AWSSDK.Core being brought into your deployment bundle. If possible you can share the contents of the *.deps.json here for help understanding it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alex182
Comment options

Answer selected by alex182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants