New user of the API. I have successfully extracted company filing history, officers data et al. So going well, however I have run into a problem when trying to fetch a document.
I have got the metadata from other searches but cannot get the query to work on the website never mind in my code.
Looking at the forum has helped however I still have a couple of questions.
I have entered :
id: field document_id from metadata
authorisation: Basic my_api_key
Accept: pdf
It is authorised with my api key
I get
0 error
and
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.
So interestingly, or perhaps not, my APi Application for JavaScript Domains has - None. JavaScript access disabled.
Ideas?
Cheers
A