Document api problems

Hi

I’m trying to get documents using the API

I’m using the interface in the documentation using the following:-

GET /document/MzAyNjIwOTY3OWFkaXF6a2N4/content HTTP/1.1
Host: document-api.companieshouse.gov.ukundefined
Authorization: **Basic Auth that works for company info ***
Accept: application/pdf

But I get this …

Failure while contacting API. Some possible causes are connection problems or cross-origin resource sharing protection. Please check javascript domains registered against APIKey / OAuth2 registration.

Any ideas?

Presumably still doesn’t work - did you search around the forum to see if anyone has got it working?

See this thread: