# Issue with return payload from node "node-red-contrib-graphql" with NodeRed 3.0.0

**URL:** https://discourse.nodered.org/t/issue-with-return-payload-from-node-node-red-contrib-graphql-with-nodered-3-0-0/79688
**Category:** General
**Created:** [10 July 2023 10:10 UTC](https://discourse.nodered.org/t/issue-with-return-payload-from-node-node-red-contrib-graphql-with-nodered-3-0-0/79688 "2023-07-10T10:10:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![3dimensional](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/3dimensional/32/64992_2.png) [@3dimensional](https://discourse.nodered.org/u/3dimensional)
#### Post date: [10 July 2023 10:10 UTC](https://discourse.nodered.org/t/issue-with-return-payload-from-node-node-red-contrib-graphql-with-nodered-3-0-0/79688/1 "2023-07-10T10:10:20Z")

</div>

I am currently testing the use of the Shopify GraphQL API with the node "node-red-contrib-graphql". However, contrary to the documentation, I get a timestamp as the response in the msg.payload instead of an object. The same happens when I run the provided example flow.

In the debug information the expected response is visible under debugInfo.data.data. Does anyone have any idea?

 ![Bildschirmfoto 2023-07-10 um 12.07.59](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/6362fbae48395126e5f7ac0e78907c2df07deb48.png)

The query is tested with Postman and functional.

Thanks and greetings

Stefan

---

<div class="post-metadata">

### Author: ![3dimensional](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/3dimensional/32/64992_2.png) [@3dimensional](https://discourse.nodered.org/u/3dimensional)
#### Post date: [10 July 2023 11:34 UTC](https://discourse.nodered.org/t/issue-with-return-payload-from-node-node-red-contrib-graphql-with-nodered-3-0-0/79688/2 "2023-07-10T11:34:32Z")

</div>

Hi, fixed it. Had to define and set msg.payload before calling the GraphQL. 🤷

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [24 July 2023 11:35 UTC](https://discourse.nodered.org/t/issue-with-return-payload-from-node-node-red-contrib-graphql-with-nodered-3-0-0/79688/3 "2023-07-24T11:35:20Z")

</div>

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