Get an error when the result image has the wrong content type.