Wow, that’s brilliant.
I actually had this error many times in my Sentry dashboard, and decided to googling it today. Then I found your post. To be honest, I think I would never have find the cause of this error by myself, so thanks a lot for your tenacity! You definitely helped someone today ;)