M-Media-Group / Covid-19-API

This is the code running in AWS Lambda powering covid-api.mmediagroup.fr/v1. The API provides realtime and historical data on Coronavirus COVID-19 confirmed cases, deaths, and recovered cases. This API has now been called over 40 million times, thank you!
https://covid-api.mmediagroup.fr/v1/cases
GNU Affero General Public License v3.0
399 stars 30 forks source link

Vaccines route returning http code 502 #19

Closed Gustavo-Cauzzi closed 3 years ago

Gustavo-Cauzzi commented 3 years ago

image

The route is returning this error with the status code of 502. Any idea why this is happening?

yano404 commented 3 years ago

Maybe because the data source CSV format has changed at this commit. I think.

mwargan commented 3 years ago

Indeed, issue caused by change in data source. Looking into it now, pull requests welcome :)

mwargan commented 3 years ago

Thanks everyone for reporting. Should be fixed with https://github.com/M-Media-Group/Covid-19-API/commit/4011fc572c913f85c32acfad92138174cf4f05b1 - issue caused because vaccine data provider switched from "0" values to blank values.