Hello,
I am trying to get an authorization code for the sandbox environment to test MTD functionality but I am facing the following error:
{"error":"invalid_request","error_description":"redirect_uri is invalid"}
I am using the standard redirect URL and have not changed this value.
I have also done all the necessary setup:
1. Create a developer account in HMRC website
2. Register an application and get the Client ID and Client secret
3. Entered the above values to the "Web applications" page in the Tax module

4. Created a test user in the HMRC website
4. Entered the VAT registration number in the legal entity (Legal entities > Registration IDs) based on the test user data

5. Entered the VAT registration number to the VAT exempt number export and import fields:

When I try to get the authorization code, the error occurs and I am not directed to a webpage where I can enter the user credentials.
Did anyone have the same issue and if yes, how was it solved?
Thank you,
Mika