# Issue with "studiesForGene" graphql query

**URL:** https://community.opentargets.org/t/issue-with-studiesforgene-graphql-query/834
**Category:** GraphQL API
**Created:** [7 November 2022 14:11 UTC](https://community.opentargets.org/t/issue-with-studiesforgene-graphql-query/834 "2022-11-07T14:11:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![amirfeizi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/amirfeizi/32/137_2.png) [@amirfeizi](https://community.opentargets.org/u/amirfeizi)
#### Post date: [7 November 2022 14:11 UTC](https://community.opentargets.org/t/issue-with-studiesforgene-graphql-query/834/1 "2022-11-07T14:11:16Z")

</div>

Hi team,

I am running the below code in the open target genetic’s graphql playground, and it gives a null output, it should give a list of studies for PCSK9 as a default gene in the platform, right?

```auto
query study {
  studiesForGene(geneId:"ENSG00000169174") {
    study {
      source
      pmid
      pubDate
      pubJournal
      pubTitle
      pubAuthor
      hasSumstats
      nInitial
      nReplication
      nCases
      traitCategory
      numAssocLoci
    }
  }
  }``
```

---

<div class="post-metadata">

### Author: ![dsuveges](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/dsuveges/32/30_2.png) [@dsuveges](https://community.opentargets.org/u/dsuveges)
#### Post date: [7 November 2022 14:34 UTC](https://community.opentargets.org/t/issue-with-studiesforgene-graphql-query/834/2 "2022-11-07T14:34:34Z")

</div>

Hi, Welcome to the Open Targets Community portal. You are right, this is not an expected behaviour. This bug is most likely related to [Kamalika’s](https://community.opentargets.org/t/studiesandleadvariantsforgene-query-not-working/833/3) comment. We have already opened a [ticket](https://github.com/opentargets/issues/issues/2791) to track the issue.

We’ll let you know once the issue is fixed. However, at this point we cannot provide definitive timeline.

Best,  
Daniel
