Make content type error messages more informative

:fork_and_knife: