# Study locus page breaks due to too long query

**URL:** <https://community.opentargets.org/t/study-locus-page-breaks-due-to-too-long-query/836>\
**Category:** Bug reports\
**Created:** [8 November 2022 06:21 UTC](https://community.opentargets.org/t/study-locus-page-breaks-due-to-too-long-query/836 "2022-11-08T06:21:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roman-hillje](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/roman-hillje/32/192_2.png) [@roman-hillje](https://community.opentargets.org/u/roman-hillje)\
**Post date:** [8 November 2022 06:21 UTC](https://community.opentargets.org/t/study-locus-page-breaks-due-to-too-long-query/836/1 "2022-11-08T06:21:51Z")

</div>

For some study-variant combinations, when clicking the “Gene Prioritisation” button to go to the study locus page, the CredibleSetsQuery gets too large and will break the entire page.

Examples:

- [GCST002222/11\_61830500\_A\_G](https://genetics.opentargets.org/study-locus/GCST002222/11_61830500_A_G)
- [GCST002222/20\_35566823\_C\_T](https://genetics.opentargets.org/study-locus/GCST002222/20_35566823_C_T)

---

<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:** [9 November 2022 10:24 UTC](https://community.opentargets.org/t/study-locus-page-breaks-due-to-too-long-query/836/2 "2022-11-09T10:24:03Z")

</div>

Hi Roman, Thank you so much for bringing this issue to our attention. This behaviour is due to the fact that the UI composes an arbitrarily large query that might exceed the size limit of a request. We are in the process of re-designing the data models on OpenTargets Genetics + release processes. These efforts slowly propagates towards the UI, so we are surely address this issue when we get there. Unfortunately I cannot give you any definite timeline for the delivery.

Best,  
Daniel

---

<div class="post-metadata">

**Author:** ![roman-hillje](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/roman-hillje/32/192_2.png) [@roman-hillje](https://community.opentargets.org/u/roman-hillje)\
**Post date:** [9 November 2022 10:57 UTC](https://community.opentargets.org/t/study-locus-page-breaks-due-to-too-long-query/836/3 "2022-11-09T10:57:59Z")

</div>

Thank you for the feedback and heads-up about the redesign.
