Editing fix and removed useless comments
REST API error response fixes
Formating change.