# Pm collection variable error undefined

**URL:** <https://community.postman.com/t/pm-collection-variable-error-undefined/63868>\
**Category:** Help Hub\
**Tags:** variables, collections, json\
**Created:** [July 9, 2024, 8:44pm UTC](https://community.postman.com/t/pm-collection-variable-error-undefined/63868 "2024-07-09T20:44:33Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [July 10, 2024, 12:44pm UTC](https://community.postman.com/t/pm-collection-variable-error-undefined/63868/6 "2024-07-10T12:44:55Z")

</div>

That would be the same as this:

> [@Help with JSON extraction](https://community.postman.com/t/help-with-json-extraction/5155):
>
> Hi. I am doing my first steps towards an “advanced” use of Postman. I am trying to extract data from a JSON response. The JSON response looks like: { "args": {}, "headers": { "x-forwarded-proto": "https", "host": "postman-echo.com", "accept": "\*/\*", "accept-encoding": "gzip, deflate", "cache-control": "no-cache", "cookie": "sails.sid=s%3AgX-JxoOgGc7tWEb8jw\_6YBH5VKcxH8R8.M7J38uMcN090VYnxRHu6eF4rkq7arAemQXhfRd9TWz4", "postman-token"…

> <https://stackoverflow.com/questions/4968406/javascript-property-access-dot-notation-vs-brackets>

---

_[View the full topic](https://community.postman.com/t/pm-collection-variable-error-undefined/63868)._
