I am building a php client to consume the /registered-email-address
endpoint.
So far I am successfully requesting an authorisation code for the scope 'https://identity.company-information.service.gov.uk/user/profile.read'
and then receiving an access_token
etc by using the code
.
When I add the scope 'https://api.company-information.service.gov.uk/company/{company_number}/registered-email-address.update'
I am redirected to the Companies House auth page but it states “Sorry we are experiencing technical difficulties”.
I have, of course, replaced {company_number} with a number but, as this is the sandbox, it is just a made up company number.
Are there specific company numbers we can use for testing? How can I successfully request this scope in the sandbox?
I have searched the forum for similar topics. I found this similar query and this practically identical query but neither of them have solutions.