'fetch a document' from developer hub returns 'failure while contacting api. Please check javascript domains registered against APIKey / OAuth2 registration'

Request
GET /document/d-r3ceb–OvuiuCDmQjj0RLW2_ZvY75zT4B1tB40cq8/content HTTP/1.1
Host: document-api.companieshouse.gov.ukundefined
Authorization: [redacted]
Accept: application/pdf

Response status
0 error

Response body
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.

Response headers

Ah - you may have spotted this already but the documents “try it out” parts on the Developer Hub weren’t working and presumably still are not. E.g. see:

The documents API does seem to be a little under-documented compared with the rest of the API. That’s where this forum comes in I suppose! Always worth a search here and a search will likely save time before waiting for someone to get back to you…

2 years on and still not working… come on chaps!

Hi,
That same error.

Request
GET /document/GdA8vcfuhlN6jp_ckh5Kfd3VAvwFexZFmvATUZUnmZM/content HTTP/1.1
Host: document-api.companieshouse.gov.ukundefined
Authorization: Basic NEtxTVR0Y1dIM3YzNHliUnJSUzQ3Q0wtYVlVRGhZaktPQlRUccccWg==
Accept: application/pdf
Response status
0 error

Also I tried with using Postman and I received code 500.
What is the translation of 500 ?

Best Regards,
M.