gbif / literature-ws

Apache License 2.0
0 stars 1 forks source link

Error in API Endpoint for Literature Search with Year Parameter #21

Closed ahakanzn closed 5 months ago

ahakanzn commented 5 months ago

A publisher reported a sudden error with the endpoint used (/literature/search) used to function correctly but now returns a 500 Internal Server Error. Despite documentation suggesting support for single or multiple years, attempts to specify a range or single year result in an error stating the value must be an integer.

https://api.gbif.org/v1/literature/search?gbifDatasetKey=e4deab67-0998-4140-b573-0ba1f624eb3e&year=2019&limit=0

{
  "timestamp": "2024-04-18T11:42:33.252+00:00",
  "status": 500,
  "error": "Internal Server Error",
  "message": "",
  "path": "/literature/search"
}