added support to pass name give error response and pass sha

fix typo