At present, the "ERM Usage Statistics SUSHI Harvester" job will attempt to harvest usage data a single time. There are several conditions specified in Appendix D of the COUNTER Code of Practice under which the job should retry. https://cop5.countermetrics.org/en/5.1.0.1/appendices/d-handling-errors-and-exceptions.html#appendix-d The main one is "Report Queued for Processing" which returns Exception Code 1011 and HTTP 202. Retrying the request periodically until the report has processed would return the data. I have seen this take between 2-40 minutes. There are also "Service Not Available" and "Service Busy" exceptions that this might apply to.
It seems a duplicate of https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38804 ?
Oh yes, sorry I did not see that one. This is a dupe. *** This bug has been marked as a duplicate of bug 38804 ***