Server Error in '/' Application.

Unsuccessful LWA token exchange

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.IOException: Unsuccessful LWA token exchange

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IOException: Unsuccessful LWA token exchange]
   Amazon.SellingPartnerAPIAA.LWAClient.GetAccessToken() in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\LWAClient.cs:50

[SystemException: Error getting LWA Access Token]
   Amazon.SellingPartnerAPIAA.LWAClient.GetAccessToken() in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\LWAClient.cs:56
   Amazon.SellingPartnerAPIAA.LWAAuthorizationSigner.Sign(IRestRequest restRequest) in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\LWAAuthorizationSigner.cs:27
   EfasisCMS.entegrasyon.pazaryeri.Amazon.AmazonHelper.SignWithAccessToken(IRestRequest restRequest, String clientId, String clientSecret, String refreshToken) in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\AmazonHelper.cs:130
   EfasisCMS.entegrasyon.pazaryeri.Amazon.AmazonHelper.GetOrders() in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\AmazonHelper.cs:55
   EfasisCMS.entegrasyon.pazaryeri.Amazon.amazonsiparisdusur.AmazondanSiparisAl() in D:\Efeteks\EfasisCMS\entegrasyon\pazaryeri\Amazon\amazonsiparisdusur.cs:22
   EfasisCMS.ONYUZ1.Page_Load(Object sender, EventArgs e) in D:\Efeteks\EfasisCMS\ONYUZ.Master.cs:35
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0