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