disease-sh/node-api

Error: invalid json response body at https://disease.sh/v2/historical/Brazil reason: Unexpected token < in JSON at position 0

LuXDAmore opened this issue · 1 comments

Same error using the node-api HERE

Belgium is going well:
https://disease.sh/v2/historical/Belgium
Response header: content-type: application/json; charset=utf-8

Brazil is throwing this error:
https://disease.sh/v2/historical/Brazil
Response header: content-type: text/html; charset=utf-8

Error: invalid json response body at https://disease.sh/v2/historical/Brazil reason: Unexpected token < in JSON at position 0