[1496] Improved error message when the error is to do with a duff schema/validation, rather than the input resource.