opened 03:10PM - 06 Nov 22 UTC
Potential Bug
I have 5 sites in Matomo, but site ID 2 is always producing a 500 POST error on …the page **_Visitors > Locations_**.

And, also, for almost always, on **_Dashboard > Visits in real-time_**

> Warning: the module=Live&action=widget&widget=1&disableLink=0&idSite=2&period=range request failed!
> Uncaught (in promise)
Object { readyState: 4, getResponseHeader: getResponseHeader(a), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(a, b), overrideMimeType: overrideMimeType(a), statusCode: statusCode(a), abort: abort(a), state: state(), always: always(), then: then(), … }
I did notice that if I reduce the date range to fewer days:

The error goes away on **_Visitors > Locations_**; but it is back, with a normal range; such as:

Please note that I am not getting this error with any of the other sites!
This link provides further information https://forum.matomo.org/t/oops-there-was-a-problem-during-the-request-failed-to-write-cache-file/47390/21