check if there are errors to return after stripping unknown properties - for issue #170