# Unable to parse data from a variable

**URL:** <https://community.postman.com/t/unable-to-parse-data-from-a-variable/59028>\
**Category:** Help Hub\
**Tags:** tests, variables, scripts, jsondatafile\
**Created:** [March 20, 2024, 6:16am UTC](https://community.postman.com/t/unable-to-parse-data-from-a-variable/59028 "2024-03-20T06:16:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rupanivenky](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@rupanivenky](https://community.postman.com/u/rupanivenky)\
**Post date:** [March 20, 2024, 5:05pm UTC](https://community.postman.com/t/unable-to-parse-data-from-a-variable/59028/5 "2024-03-20T17:05:27Z")

</div>

Hi @danny-dainton @gbadebo-bello

What is the object name I am supposed to provide there, based on previous thread, I am creating the json file with expected key and values.

Please refer this: [CSV comparison to a responseBody - 🙋 Help - Postman Community](https://community.postman.com/t/csv-comparison-to-a-responsebody/54330/5)

Here is my full JSON data file info:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8f6013e7e628ebdb5be3e1364546169e1e11b643.png)

Here is the testcase to retrieve the response and validate against json file `testData`:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/3/b3d6ea7b31cc33341d9c17a35775be5f90bd213d.png)

Here is how, I am trying to get testData.json while Run collection:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/2/a2c26a861a7a3e10e07b7b9d47027977c6d1e06e.png)

Please assist on how to proceed further with the requirement I have to validate set of responses against the JSON file data. Thank you.

---

_[View the full topic](https://community.postman.com/t/unable-to-parse-data-from-a-variable/59028)._
