I want to get documents from a company using the API, I can find them on the filing history API however they don't have document IDs therefore making it impossible to use the document API to download them.
I tried both the transaction ID and the XXX of the document metadata url "https://frontend-doc-api.companieshouse.gov.uk/document/XXX" but these gave 500 internal server error.
Thus leading me to my question:
How do I obtain the document ID in order to find it in the document API
or (assuming the XXX in the above is correct)
Why am I receiving 500 errors, is this an internal problem? (I've tried it over a number of days as initially I thought it was a problem with the API however i've seen no mention of internal issues and I would have thought if there were issues they would have been fixed after a few days).