++SOLVED++
For the past few weeks I have been successfully querying the API via python to obtain data about my observations.
This morning when I attempt it, I get the error:
‘error’: ‘Elasticsearch error, if this persists please contact the iNaturalist development team.’, ‘status’: 500
When querying:
base_url = “https://api.inaturalist.org/v1/observations”
params = {“user_id”: user_id, “per_page”: 2, “page”: page, “nelat”: 49.99284107845855, “nelng”: -121.48133782669902, “swlat”:47.23367173462317, “swlng”: -123.76649407669902} # Adjust per_page as needed
response = requests.get(base_url, params=params)
print(response)
If I got to the site https://api.inaturalist.org/v1/observations, it does not seem to be down however. The code worked yesterday, the only changes I am aware of making were installing the pip package pyinaturalist and a few dependencies, so I don’t think the issue should be on my end, though it is possible