flake8
raise a ValueError for decoding issues