Requesting images no longer working

The following request use to work fine:

https://eol.org/api/pages/1.0/46577088.json?batch=false&images_per_page=10&images_page=1&texts_per_page=10&texts_page=1&subjects=overview&licenses=all&details=true&common_names=true&synonyms=true&references=true&taxonomy=true&vetted=0&cache_ttl=&language=en

however it now generates a 505 error (this started within the last few days). If I remove the image related parameters it works fine:

https://eol.org/api/pages/1.0/46577088.json?batch=false&texts_per_page=10&texts_page=1&subjects=overview&licenses=all&details=true&common_names=true&synonyms=true&references=true&taxonomy=true&vetted=0&cache_ttl=&language=en

Has anyone else encountered this? Is there a different way that I should be making this request now?

Thanks,

Greg

Some addition information. If I change the images_per_page to 0, 1 or 2 in the above request it will work. However any larger number gets the 500 error. I have tried with other ids though that fail with any value for images_per_page.

Hopefully that helps track down any regression.

Cheers,

Greg

Thanks! Should be fixed, now.

Indeed it is! Thanks for the quick work!

hello, how do I get a api token? thanks

Hello, @Paco_Krummenacher

You only need one for the Structured Data API, not for the images or text APIs, which are open. Instructions for getting a token are at publishing/api.md at master · EOL/publishing · GitHub

:slight_smile:

Jen