# GPT3 integration issue--\>Not able to fetch the response

**URL:** <https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120>\
**Category:** Studio\
**Tags:** builder\
**Created:** [April 18, 2023, 3:36pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120 "2023-04-18T15:36:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [April 18, 2023, 3:36pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/1 "2023-04-18T15:36:36Z")

</div>

I integrated GPT successfully (In the Integration tab using the API Key and Org ID) and able to add that node inside my flow as well. But, I am not able to fetch the data as my integration is not successful.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/yellowmessenger1/original/2X/7/76a1651c50b12fc3092d0e2dd84dd01319ab444f.png)

I am storing my question inside a string variable and passing it to the GPT Node as a query.

I am storing the response inside a Object variable.

Please let me know if I am doing something wrong here.

---

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [April 19, 2023, 3:03pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/2 "2023-04-19T15:03:28Z")

</div>

Can we make this integration failure sort out? If there is someone from yellow.ai have the expertise, please reply.

---

<div class="post-metadata">

**Author:** ![gautham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/gautham/32/1593_2.png) [@gautham](https://community.yellow.ai/u/gautham)\
**Post date:** [April 19, 2023, 4:28pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/3 "2023-04-19T16:28:16Z")

</div>

Can you try to print this in a text node as shared in the documentation of the node.

Based on that output we’ll be able to debug this bettrt

---

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [April 19, 2023, 4:31pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/4 "2023-04-19T16:31:10Z")

</div>

Hi Gautham

I already tried that. But, I am not getting any response in the chat and after GPT integration, it goes to the fallback direction. Please refer to the screenshot below:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/yellowmessenger1/original/2X/7/76f8b4ce18c5cadc2967e090340200ae7ca131a4.png)

---

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [April 19, 2023, 11:27pm UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/5 "2023-04-19T23:27:18Z")

</div>

Hi Gautham,

have you got clarity on where I am facing the issue now?

---

<div class="post-metadata">

**Author:** ![gautham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/gautham/32/1593_2.png) [@gautham](https://community.yellow.ai/u/gautham)\
**Post date:** [April 20, 2023, 4:59am UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/6 "2023-04-20T04:59:25Z")

</div>

@sumit_biswas

Since an error is shown here  
Can you insert `V_GPT_response` into a DB where the column datatype is object as well.

You’ll be able to log the error response

---

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [April 20, 2023, 5:38am UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/7 "2023-04-20T05:38:40Z")

</div>

@gautham

I didn’t actually get it. If I want to get the proper response from my query how will I be able to do this?  
What you are suggesting is to save the GPT response inside a DB and then if I print it also, I will be seeing the object response only.  
But, if my GPT integration is not only successful, then I will be getting an error message only. I can show you the screenshot of sample response where you can see the error in details-

 ![Screenshot 2023-04-20 at 11.08.00 AM](https://canada1.discourse-cdn.com/flex035/uploads/yellowmessenger1/original/2X/1/1a26b61e936ae38145355f594c6b97700927fed1.png)

However, I have successfully made the GPT integration with my chatbot.

 ![Screenshot 2023-04-20 at 11.10.00 AM](https://canada1.discourse-cdn.com/flex035/uploads/yellowmessenger1/original/2X/8/88ed116dfe973b8505d5a272129f98b8f8407fd2.png)

---

<div class="post-metadata">

**Author:** ![sumit\_biswas](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/sumit_biswas/32/1108_2.png) [@sumit\_biswas](https://community.yellow.ai/u/sumit_biswas)\
**Post date:** [May 2, 2023, 7:12am UTC](https://community.yellow.ai/t/gpt3-integration-issue-not-able-to-fetch-the-response/4120/8 "2023-05-02T07:12:40Z")

</div>

@gautham

Please reply to me regarding this. It’s been a long time since you last replied to me. I hope I have provided all the information you needed.
