This error occurs when you're logged into one Etsy store but trying to connect a different shop.
How to resolve this:
Make sure you are logged into the correct Etsy store when authenticating the shop name in the app. This will prevent the "Access denied" error from occurring.