So when I redirect the user to authorize using the https://sellercentral.amazon.com/apps/authorize/consent url. When the user changes the market place from the drop down the authorization page shows this error
What I realised is when the market place changes the consent url parameters gets overriden so the application_id is removed and the client id and secret