# Newman - PostmanResponse{ …(5) } to have property 'code'

**URL:** <https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [May 20, 2024, 3:28pm UTC](https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260 "2024-05-20T15:28:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![docking-module-geol7](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@docking-module-geol7](https://community.postman.com/u/docking-module-geol7)\
**Post date:** [May 20, 2024, 3:28pm UTC](https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260/1 "2024-05-20T15:28:19Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

I have a postman collection and environment JSON files and checked into Azure Repo and running those ADO releases using Newman command in AWS cloud. These were working till friday and I have checked in the new changes to repo on late friday and now I am seeing new error -  
expected PostmanResponse{ …(5) } to have property ‘code’ .

command  
newman run x\_collection.json -e x\_env.json --reporters=‘cli,htmlextra’

Again these commands are working on my laptop.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [May 21, 2024, 9:37am UTC](https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260/2 "2024-05-21T09:37:26Z")

</div>

Hi @docking-module-geol7. Welcome to the Postman Community.

Is this the full error displayed? If not, can you sopy and paste the full error displayed on the command line?

Also, are you running the exact same collection and environments locally?

---

<div class="post-metadata">

**Author:** ![docking-module-geol7](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@docking-module-geol7](https://community.postman.com/u/docking-module-geol7)\
**Post date:** [May 30, 2024, 5:10pm UTC](https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260/3 "2024-05-30T17:10:27Z")

</div>

these were fixed automatically

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [June 2, 2024, 5:10pm UTC](https://community.postman.com/t/newman-postmanresponse-5-to-have-property-code/61260/4 "2024-06-02T17:10:55Z")

</div>

Closed on June 2, 2024, 5:10pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
