# Http Basic Authentication requires NO password

**URL:** <http://forum.companieshouse.gov.uk/t/http-basic-authentication-requires-no-password/1881>\
**Category:** Documentation Issues\
**Created:** [June 23, 2018, 1:00pm UTC](http://forum.companieshouse.gov.uk/t/http-basic-authentication-requires-no-password/1881 "2018-06-23T13:00:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charliemciver](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/df788c/32.png) [@charliemciver](http://forum.companieshouse.gov.uk/u/charliemciver)\
**Post date:** [June 23, 2018, 1:00pm UTC](http://forum.companieshouse.gov.uk/t/http-basic-authentication-requires-no-password/1881/1 "2018-06-23T13:00:52Z")

</div>

The documentation page [https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey\_authorisation.html](https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey_authorisation.html) states:

> **Sending the API key**  
> The Companies House API uses HTTP Basic Authentication to transmit an API key between the client application and the server. Basic authentication is usually made up of a username and password pair; the Companies House API takes the username as the API key _ **and ignores the password, so can be left blank.** _

This is not true from my experience - it requires a blank password. If you put in a password it fails with an authentication issue.

I will log a seperate issue - but salesforce struggles with no password, meaning I have to code more heavily the the solution to make it work with no password.
