This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12081|Reply: 2

AWS Amazon.Runtime.Internal.HttpErrorResponseException

[Copy link]
Posted on 2021-5-30 17:23:16 | | | |
When calling Amazon AWS services using the .NET SDK, an exception is thrown:

Amazon.Runtime.Internal.HttpErrorResponseException
Such an exception is very unfriendly, and I can't see any problem or cause, if you want to see the detailed logs, the .NET code needs to be set as follows:

After the code is set, the exception information will be output to the console, and then the response information will also be printed to the console, as shown in the figure below:



The security token included in the request is invalid.
We can see that it is an authentication error.




Previous:Compiler error message: Compiler failed with error code -532462766.
Next:Grafana+Prometheus+Windows Exporter monitors service performance metrics
Posted on 2021-11-3 16:18:02 |
Thank you, boss, this question stumped me
Posted on 2023-2-22 12:16:56 |
Reply to see the content
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com