Log errors on non-UTF-8 and return a 400.