# Rest Api not work on sandbox

**URL:** https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775
**Category:** Studio
**Created:** [February 26, 2023, 3:57pm UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775 "2023-02-26T15:57:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Manisha\_Vimal](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/manisha_vimal/32/2381_2.png) [@Manisha\_Vimal](https://community.yellow.ai/u/Manisha_Vimal)
#### Post date: [February 26, 2023, 3:57pm UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/1 "2023-02-26T15:57:33Z")

</div>

Why Rest Api not work on sandbox ?

---

<div class="post-metadata">

### Author: ![Jayesh\_Rana](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/jayesh_rana/32/943_2.png) [@Jayesh\_Rana](https://community.yellow.ai/u/Jayesh_Rana)
#### Post date: [February 26, 2023, 7:08pm UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/2 "2023-02-26T19:08:32Z")

</div>

Hey, @Manisha_Vimal can you share the screenshot of the error that is coming?

---

<div class="post-metadata">

### Author: ![Manisha\_Vimal](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/manisha_vimal/32/2381_2.png) [@Manisha\_Vimal](https://community.yellow.ai/u/Manisha_Vimal)
#### Post date: [February 28, 2023, 9:36am UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/3 "2023-02-28T09:36:59Z")

</div>

Hi @Jayesh_Rana

this is POST API response  
I want show these details in next node - fields are (“name” , “phone” , “user\_age” and “id”)  
{  
“message”: “Data Save successfully”,  
“status”: 200,  
“data”: {  
“name”: “demo”,  
“user\_age”: “34”,  
“user\_height”: “145”,  
“user\_weight”: “55”,  
“married\_status”: “2”,  
“phone”: null,  
“pincode”: “224001”,  
“user\_wokringstatus”: “yes”,  
“working\_skip”: null,  
“user\_workprofile”: null,  
“user\_imagineasamother”: “Yes”,  
“user\_persona”: “Do I really want it?”,  
“user\_conceptionstage”: null,  
“user\_obs\_uterinefibroid”: “demo”,  
“user\_marriedstatus”: null,  
“user\_relationshipstatus”: null,  
“user\_sexuallyactive”: null,  
“partner\_name”: null,  
“partner\_age1”: “demo”,  
“partner\_employmentstatus”: null,  
“user\_lifestyle\_physicalactivity”: “demo”,  
“user\_lifestyle\_exercisefrequency”: “demo”,  
“user\_lifestyle\_fruit”: “demo”,  
“user\_lifestyle\_vegetables”: “demo”,  
“user\_lifestyle\_sleep”: “demo”,  
“user\_lifestyle\_smoke”: “demo”,  
“user\_lifestyle\_drink”: “demo”,  
“user\_lifestyle\_cigarette\_count1”: “demo”,  
“user\_lifestyle\_recdrugs”: “demo”,  
“user\_lifestyle\_drinkfrequency”: “demo”,  
“user\_lifestyle\_diabetes”: “demo”,  
“user\_lifestyle\_bp”: “demo”,  
“user\_obs\_cyclefrequency”: “demo”,  
“user\_obs\_cyclelength”: “demo”,  
“user\_obs\_flow”: “demo”,  
“user\_obs\_thyroidissues”: “demo”,  
“user\_obs\_breastlump”: “demo”,  
“user\_obs\_thyroidcondition”: “demo”,  
“user\_obs\_breastlumppain”: “demo”,  
“user\_obs\_medicalcondition”: “demo”,  
“user\_obs\_medicalconditiondetails”: “demo”,  
“user\_obs\_uterussurgery”: “demo”,  
“user\_obs\_abdomensurgery”: “demo”,  
“user\_obs\_uterussurgerydetails”: null,  
“user\_obs\_uterussurgeryyear1”: null,  
“user\_obs\_abdomensurgerydetails”: null,  
“user\_obs\_abdomensurgeryyear1”: null,  
“user\_preg\_pregnancybefore”: null,  
“user\_preg\_conceivingdifficulty”: null,  
“user\_preg\_foliccapsule”: null,  
“user\_preg\_fertileperiodtrack”: null,  
“user\_preg\_fertilitycarename”: null,  
“user\_preg\_fertilitycare\_medname”: null,  
“user\_preg\_fertilitycare\_medduration1”: “demo”,  
“user\_preg\_fertilitycare\_treatmentduration1”: “demo”,  
“partner\_semenanalysis”: “demo”,  
“user\_preg\_fertilitycare\_egg”: “demo”,  
“user\_preg\_fertilitycare\_sperm”: “demo”,  
“user\_preg\_fertilitycare\_surgery”: “demo”,  
“user\_preg\_fertilitycare\_surgeryname”: “demo”,  
“user\_intimacy\_painduringsex”: “demo”,  
“partner\_penialerectionissue”: “demo”,  
“partner\_prematureejaculation”: “demo”,  
“partner\_consensualsex”: “demo”,  
“user\_preg\_birthbefore”: “demo”,  
“user\_preg\_babycount1”: “demo”,  
“user\_preg\_babytermstatus”: “demo”,  
“user\_preg\_csectioncount1”: “demo”,  
“user\_preg\_miscarriagecount1”: “demo”,  
“user\_preg\_miscarriage”: “demo”,  
“user\_preg\_abortion”: “demo”,  
“user\_preg\_abortioncount1”: “demo”,  
“user\_mentalhealth\_anypreviouscondition”: “demo”,  
“user\_mentalhealth\_conditionname”: “demo”,  
“user\_mentalhealth\_personallifestress”: “demo”,  
“user\_mentalhealth\_professionalanxiety”: “demo”,  
“user\_lovemarriage”: “demo”,  
“user\_family\_isdiabetes”: “demo”,  
“user\_family\_isgeneticdisoder”: “demo”,  
“user\_family\_isblooddisorder”: “demo”,  
“partner\_family\_isdiabetes”: “demo”,  
“partner\_family\_isgeneticdisorder”: “demo”,  
“partner\_family\_blooddisorder”: “demo”,  
“user\_staywith”: “demo”,  
“user\_family\_visitfromparents”: “demo”,  
“user\_family\_friendssupport”: “demo”,  
“user\_personality\_opinion\_parentsraising”: “demo”,  
“user\_personality\_disciplinestyle”: “demo”,  
“user\_personality\_theirdisciplinestyle”: “demo”,  
“user\_personality\_goodchildhoodmemory”: “demo”,  
“user\_personality\_dislikeaboutparents”: “demo”,  
“bmi\_count”: 26.159334126040427,  
“updated\_at”: “2023-02-28T07:22:26.000000Z”,  
“created\_at”: “2023-02-28T07:22:26.000000Z”,  
“id”: 176  
}  
}

---

<div class="post-metadata">

### Author: ![Harshin\_Balaji](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/harshin_balaji/32/1632_2.png) [@Harshin\_Balaji](https://community.yellow.ai/u/Harshin_Balaji)
#### Post date: [February 28, 2023, 9:48am UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/4 "2023-02-28T09:48:24Z")

</div>

This is success is response. Inorder to print the name use this format - {{{variables.ojbectname.data.name}}}

---

<div class="post-metadata">

### Author: ![Jayesh\_Rana](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/jayesh_rana/32/943_2.png) [@Jayesh\_Rana](https://community.yellow.ai/u/Jayesh_Rana)
#### Post date: [February 28, 2023, 9:49am UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/5 "2023-02-28T09:49:55Z")

</div>

Yes, you can show these details using the variable in which you are storing the API response.  
The way to print or extract the data from the API response is {{{variable.data.name}}} , {{{variable.data.phone}}} , etc.

---

<div class="post-metadata">

### Author: ![Subhrajit\_Gupta](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/subhrajit_gupta/32/1680_2.png) [@Subhrajit\_Gupta](https://community.yellow.ai/u/Subhrajit_Gupta)
#### Post date: [February 28, 2023, 9:51am UTC](https://community.yellow.ai/t/rest-api-not-work-on-sandbox/3775/6 "2023-02-28T09:51:24Z")

</div>

```auto
let {name , phone, user_age, id} = data.variables.<variable_name>.data

```

You can access in a function after records get resolved in a variable.
