# Not able to pass Global variable value in http request body

**URL:** <https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [September 25, 2019, 7:52pm UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763 "2019-09-25T19:52:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehran\_Shafqat](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Mehran\_Shafqat](https://forum.katalon.com/u/Mehran_Shafqat)\
**Post date:** [September 25, 2019, 7:52pm UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/1 "2019-09-25T19:52:19Z")

</div>

Im not able to pass Global variable in object repository request directly in http body. its never pick the value. using 6.3.3 v

${GlobalVariable.name} this is syntax im using.

Event with the same syntax im able to pass the value in http header but its never worked in http body that actually very strange and even http body is supported place where we can pass global variable directly.

 ![Screenshot_37](https://europe1.discourse-cdn.com/katalon/original/2X/d/d27ef401bc9bc7cb37e4da2e8b48837dbde508e7.png)

---

<div class="post-metadata">

**Author:** ![Mehran\_Shafqat](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Mehran\_Shafqat](https://forum.katalon.com/u/Mehran_Shafqat)\
**Post date:** [September 26, 2019, 7:02am UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/2 "2019-09-26T07:02:42Z")

</div>

any update on this please ?

---

<div class="post-metadata">

**Author:** ![Loan\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/loan_tran/32/11091_2.png) [@Loan\_Tran](https://forum.katalon.com/u/Loan_Tran)\
**Post date:** [September 30, 2019, 4:10am UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/3 "2019-09-30T04:10:43Z")

</div>

I’ve just checked on KS 6.3.3 and it still works okay.

 ![23%20AM](https://europe1.discourse-cdn.com/katalon/original/2X/9/90421686ca82e7d1a0184460c91d9f2e9c44c0b0.png)  
Please provide us the error returned. And make sure that you ran the script with the correct profile in which you created the variable “name”

---

<div class="post-metadata">

**Author:** ![Mehran\_Shafqat](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Mehran\_Shafqat](https://forum.katalon.com/u/Mehran_Shafqat)\
**Post date:** [October 2, 2019, 12:32pm UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/4 "2019-10-02T12:32:07Z")

</div>

hi Tran thanks for reply but its not working for me if im using grapql json call.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [September 29, 2020, 4:05pm UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/5 "2020-09-29T16:05:40Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [September 29, 2021, 4:18pm UTC](https://forum.katalon.com/t/not-able-to-pass-global-variable-value-in-http-request-body/33763/6 "2021-09-29T16:18:48Z")

</div>

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