Power Automate custom connector: HTTP 400 “Invalid Authorization header”

Hello,

We’re connecting a live Companies House application to Microsoft Power Automate for read-only company verification.

The connector uses:

  • Host: api.company-information.service.gov.uk
  • HTTPS and Basic authentication
  • API key as the username and a dummy password

On 2 November 2026, after updating the saved credentials, company-profile requests still returned:

{"error":"Invalid Authorization header","type":"ch:service"}

This also occurs with your documented example, GET /company/00000006.

These tests were performed through Power Automate. We haven’t independently tested the credentials with another client.

Could you advise whether further activation is required, or how to distinguish a key issue from a request-format issue?

Thank you.

Does this basic curl request work with your key?

curl -i -u 'YOUR_API_KEY:' \
  https://api.company-information.service.gov.uk/company/00000006

If the above works for you, I would try changing the dummy password you mention above to an empty string.

username = <API_KEY>
password = ""

So that your auth looks like the example that CH give:

Authorization: Basic base64("<API_KEY>:")

CH says the password is ignored, but you never know!