So how did you resolve this? Did you need to get a new refresh token (reauthorize the app to get a new refresh token)
I am experiencing a similar issue but with Amazon Warehousing and Distribution API, I have been using other APIs without issue for some time. In general we are using the Python-Amazon-SP-API Library.
I am still getting the 'code':'Unauthorized' message.