# GraphQuery can't query all fields from linked document

**URL:** <https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [July 17, 2021, 8:17am UTC](https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282 "2021-07-17T08:17:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yver](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yver](https://community.prismic.io/u/yver)\
**Post date:** [July 17, 2021, 8:17am UTC](https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282/1 "2021-07-17T08:17:52Z")

</div>

Hello,  
I think there is a bug or a little wrong implementation for the API or maybe wrong explanation on this part [of the documentation](https://prismic.io/docs/technologies/graphquery-rest-api#all-fields-from-a-linked-document)

 ![Screen Shot 2021-07-17 at 17.12.59](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/6/6ac0484206dacee4c3c9e4da4599fbb6f04e48f5.png)

This is not working.

But if I change it like on the screenshot below it's working, well at least for me.

 ![Screen Shot 2021-07-17 at 17.14.24](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/4/42dcef5bdcc3fbfc0ac3371b2a18d70dd6f66fa6.png)

I'm not sure if this is the right place to report this.  
If it's not, please delete it and let me know the right place to report this.

Thank you

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 19, 2021, 12:46pm UTC](https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282/3 "2021-07-19T12:46:01Z")

</div>

Hi Yver,

Thank you for pointing this out. I've tested this and I've updated the documentation now.

This is indeed the best place to post issues like this.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [July 21, 2021, 3:14pm UTC](https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282/4 "2021-07-21T15:14:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:35pm UTC](https://community.prismic.io/t/graphquery-cant-query-all-fields-from-linked-document/6282/5 "2021-12-09T15:35:34Z")

</div>


