Unsuccessful LWA token exchange
Good afternoon,
I have recently upgraded from version 1.6.11 to the latest version 1.7.28. I had been using 1.6.11 for sometime but now need to plan for amazon switching to inbound fulfillment 20240320. My IAM credentials have been working without issue (obviously it was a nightmare to get them working first of all). However after upgrading I am now getting the following exceptions:
"Unsuccessful LWA token exchange" & "Request failed with status code Unauthorized".
My AmazonConnection code doesn't seem any different than the examples shown and obviously my AccessKey, SecretKey, RoleArn, ClientId, ClientSecret, RefreshToken are valid otherwise the existing system would stop working.
Also, I'm in the UK just incase that makes a difference.
I'm not sure if this is the right place to be asking for help...I'm really don't know where else to do with these generic errors.
Thank you, Stuart
This issue has now been resolved. My credentials were encrypted and I wasn't decrypting them correctly.