Logging the referrer URL might help track down the problem cases for these errors when they happen in prod.