coronavirus-dashboard icon indicating copy to clipboard operation
coronavirus-dashboard copied to clipboard

Overview Data for United Kingdom is Not Working

Open ian-jarrett opened this issue 2 years ago • 2 comments

Something seems to have changed in the API (from April/May 2022?). The following filters no longer work: areaType="overview";areaName="United+Kingdom"; but give the error: { "response": "Query parameter 'areaNam' (areaNam e) is invalid. Did you mean 'areaName'?", "status_code": 400, "status": "Bad request" } It I remove the quotes from filter and replace the "+" with a Space, with this filter: areaName=United%20Kingdom;areaType=overview It returns 204, No Content. Queries to other areaNames with other areaTypes work OK: If I try a nation (England) instead of the UK with this filter: ?filters=areaName="England";areaType="nation" It also returns error 400 ("Query parameter" is wrong) But if I remove the quotes from the filter: ?filters=areaName=England;areaType=nation Everything works as expected.

Something appears to have changed on the server side that is processing the filter in the URL? Can you investigate pls?

ian-jarrett avatar Jun 13 '22 09:06 ian-jarrett

United Kingdom overview data is available up to May 20th 2022, then it breaks. From then onwards, only nation data (England, Wales, Scotland) seems to work.

ian-jarrett avatar Jun 13 '22 15:06 ian-jarrett

Can see the same ... UK is basically stack on May 20th 2022 and no updates since.

przemyslawpluta avatar Sep 19 '22 11:09 przemyslawpluta

This is an issue with the data not the service - UK data for many metrics ceased on 20 May 2022 when Northern Ireland's data reporting stopped.

statsgeekclare avatar Nov 10 '22 15:11 statsgeekclare