Closed MauriceHeinze closed 8 months ago
Hi,
the following query leads to an error 500: https://api.openaq.org/v2/averages?temporal=year&date_to=2024-01-09&date_from=2023-01-09&locations_id=3162&spatial=location.
Error message I get back: { "detail": "'<=' not supported between instances of 'dict' and 'int'" }
This error occurs only as long as I'm using the temporal parameter. Also tested on your API discovery page, but same issue here.
Hope this can be fixed and looking forward to hearing from you.
Best, Maurice
Hi @MauriceHeinze Thanks for reporting this issue. We'll take a look and try to get this resolved.
@MauriceHeinze This issue should be resolved in today's release.
Hi,
the following query leads to an error 500: https://api.openaq.org/v2/averages?temporal=year&date_to=2024-01-09&date_from=2023-01-09&locations_id=3162&spatial=location.
Error message I get back: { "detail": "'<=' not supported between instances of 'dict' and 'int'" }
This error occurs only as long as I'm using the temporal parameter. Also tested on your API discovery page, but same issue here.
Hope this can be fixed and looking forward to hearing from you.
Best, Maurice