Closing as a duplicate of https://phabricator.wikimedia.org/T336205
It seems our hashing is not working as intended. We throw a DEBUG error here - it doesn't stop us from uploading but we get an error back from PhotoDNA as well (see this ticket).
So we should:
- fix the hashing
- if we hit this error, send as a photo instead of a hash
2023-05-08 20:34:50.544354 [2bbe3e98516c8a8029072258] mw1458 commonswiki 1.41.0-wmf.7 mediamoderation DEBUG: Hash check request failed for file Bieraście,_Pahonia._Берасьце,
_Пагоня_(1789)_(2).jpg. {"file":"Bieraście,_Pahonia._Берасьце,_Пагоня_(1789)_(2).jpg"}