Is the Document API broken?

We are getting an internal server error when https://developer.companieshouse.gov.uk/document/docs/ used. Our App works fine until very recently. Have you changed the API recently?

You should be using https://developer.companieshouse.gov.uk/api/docs/

Hi Mark

That’s a strange response. If you click Document API in the link you sent, you will see it get you to https://developer.companieshouse.gov.uk/document/docs/document/id/id.html

I also noted that URLs have this format https://s3-eu-west-1.amazonaws.com/document-api-images-prod/docs/d6yyrElThSvNKNclrZSEu0yvWVyl120sY71zuh_mvZU/application-pdf. Cannot remember what it was before

We are going to attempt a fix as I don’t like broken things on our Platform.

Fixed the problem - but your API as documented is broken @MArkWilliams

I also think that the document API may be broken, and have spent a fair amount of time with it. @manoj_ranaweera - any advice on a workaround?

I need to ask from my colleague who build the app when she is back tomorrow, but I think it uses “https://s3-eu-west-1.amazonaws.com/document-api-images-prod/docs/xxxxx”. I believe xxxxx could be picked up from the API.

Let me know if you like to try out what we built.