Company Search CORS Error

For the last couple of weeks, our application has stopped working when trying to access company information.

No code changes have been made here, but the errors message is

Access to XMLHttpRequest at ‘https://api.company-information.service.gov.uk/company/03933476’ from origin ‘https://our-domain.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Is this a known problem, it’s been two weeks now?

What can I do to correct it?

Our domain names are setup on our api account correctly and have been working for years.

Please help, this is important and urgent now.

We are also getting the same errors.

@MArkWilliams is there any update on this?

A fix has gone in for this issue.
If you are making CORS requests you will need to ensure the api key that you are using has your site in the js_domains array.