Live REST API key returning HTTP 400 – Invalid Authorization header

Hello,

I am attempting to use the Companies House Public Data REST API for a data verification exercise.

I have created a Live application and generated a REST API key through the Developer Hub.

However, all requests are returning:

HTTP 400 – Invalid Authorization header

Response:
{“error”:“Invalid Authorization header”,“type”:“ch:service”}

The request follows your documented Basic Authentication method, using the API key as the username and a blank password.

I have also tested this independently using a Python diagnostic script, against the standard company profile endpoint:

https://api.company-information.service.gov.uk/company/00000006

The response includes:

  • Ch-Authentication-Error: Invalid Authorization header

  • WWW-Authenticate: Invalid or no Authorisation header has been provided

I have confirmed that:

  • The application environment is Live.

  • The key type is REST.

  • The API key has been copied directly from the Developer Hub.

I have found similar reports on your developer forum, including one dated 20 November 2026.

Could you please investigate whether there is an issue with the provisioning or activation of newly generated Live REST API keys, or advise what further steps are required?

I can provide the application name and other non-sensitive diagnostic information if required.

Many thanks.