Expected { Object (id, _details, ...) } to have property 'code'

Getting error while running from newman.I used --insecure,still getting same issue.Its running fine if I am sunning suit in postman.