Provide response code if not 200, remove unnecessary `nil`

Fixed indentation on line 62