Invalid scope on sandbox login

Hello.
Just started out with this whole API login with ouath 2 and having an issue with the sandbox.
When I try to get the access token, I get this:
?error=invalid_scope
and in the page
The page isn’t redirecting properly
I tried different scopes, but none of them worked.
https://api-sandbox.company-information.service.gov.uk
https://identity-sandbox.company-information.service.gov.uk
https://test-data-sandbox.company-information.service.gov.uk
https://test-data-sandbox.company-information.service.gov.uk/test-data/company

What am I doing wrong?