# Cannot assign data to Request body

**URL:** <https://community.postman.com/t/cannot-assign-data-to-request-body/34686>\
**Category:** Help Hub\
**Tags:** variables, collections\
**Created:** [April 22, 2022, 10:01am UTC](https://community.postman.com/t/cannot-assign-data-to-request-body/34686 "2022-04-22T10:01:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrungNguyen90](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/trungnguyen90/32/11794_2.png) [@TrungNguyen90](https://community.postman.com/u/TrungNguyen90)\
**Post date:** [April 22, 2022, 10:01am UTC](https://community.postman.com/t/cannot-assign-data-to-request-body/34686/1 "2022-04-22T10:01:09Z")

</div>

_My question_:  
I cannot assign data from json file to the Request body when run collection with Json file or CSV, currently result of the request body is “null”. Please help me with this issue, thanks

**Here is my script :**  
pm.test(“Check Reponse Mess”, function (){  
console.log(pm.iterationData.get(“Messagerequest”));  
});

_Details (like screenshots)_:  
Run Collection  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/d/de037df95d5ccfa497c83bcfb184f28936afd229.png)

My body:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/1/1535c760ce80f433dc193dab38dfc4e7b7f3c036.png)

Json file:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/3/31fb56570363788ebd283ad145c8a6040c89b9bf.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/1/193aa4c00e9d62531683a749ad686797060f20b2.png)
