thegreenwebfoundation / developer-docs

The developer documentation site for The Green Web Foundations open source libraries.
https://developers.thegreenwebfoundation.org
Apache License 2.0
5 stars 13 forks source link

Error on API docs endpoint failing builds #26

Closed fershad closed 1 year ago

fershad commented 1 year ago

The below fetch call to the Green Web Foundations Docs API endpoint is failing. As a result, websites builds also fail. Information from this API is used to generate content for some of the API related docs.

https://github.com/thegreenwebfoundation/developer-docs/blob/fb09f70c1817851c38da548ff51bb7392192b68e/src/_data/api.js#L4

Even after changing the endpoint to https://admin.thegreenwebfoundation.org/api-docs/?format=openapi the fetch request still fails with a server error 500. Hitting the URL above in a browser, though, returns valid JSON.

@mrchrisadams do you have any idea what might be going on?

mrchrisadams commented 1 year ago

Hi @fershad - I see an 500 error when I visit in the browser. I suspect this might be linked to the recent databae change on our platform, so I'll check with Oliwia and update here when I know more.

fershad commented 1 year ago

Fix applied to the API.