# \#graphql

**URL:** https://community.opentargets.org/tag/graphql/1.md

[Latest](https://community.opentargets.org/latest.md) · [Categories](https://community.opentargets.org/categories.md) · [Tags](https://community.opentargets.org/tags.md)

---

## [Release 25.12 GraphQLQuery API does not match with Opentargets Platform results for Breast Cancer](https://community.opentargets.org/t/release-25-12-graphqlquery-api-does-not-match-with-opentargets-platform-results-for-breast-cancer/1982)

<div class="topic-metadata">

**Author:** [@koryclick](https://community.opentargets.org/u/koryclick)\
**Replies:** 3\
**Last updated:** [23 March 2026 16:52 UTC](https://community.opentargets.org/t/release-25-12-graphqlquery-api-does-not-match-with-opentargets-platform-results-for-breast-cancer/1982 "2026-03-23T16:52:48Z")

</div>

Hello, I was doing this GraphQL query : Variables: {“diseaseId”: “MONDO\_0007254”} query BreastCancerTargets($diseaseId: String!) { disease(efoId: $diseaseId) { id name associatedTargets(page: { size: 10…

---

## [Searching credibleSets by region overlap](https://community.opentargets.org/t/searching-crediblesets-by-region-overlap/1956)

<div class="topic-metadata">

**Author:** [@Flizzy](https://community.opentargets.org/u/Flizzy)\
**Replies:** 2\
**Last updated:** [26 December 2025 12:19 UTC](https://community.opentargets.org/t/searching-crediblesets-by-region-overlap/1956 "2025-12-26T12:19:33Z")

</div>

I’m trying to retrieve all credible sets (study-loci) that overlap a genomic interval (e.g., a ±500kb window around a gene). I expected the regions argument of credibleSets to behave like an interval/overlap filter, but …

---

## [Multiple questions about GraphQL schemata](https://community.opentargets.org/t/multiple-questions-about-graphql-schemata/1919)

<div class="topic-metadata">

**Author:** [@jpfeuffer](https://community.opentargets.org/u/jpfeuffer)\
**Replies:** 3\
**Last updated:** [12 September 2025 14:18 UTC](https://community.opentargets.org/t/multiple-questions-about-graphql-schemata/1919 "2025-09-12T14:18:34Z")

</div>

Hi! I am struggling a lot with the lack of documentation of the GraphQL endpoint. "associations on the fly" associatedTargets( "List of disease or target IDs" Bs: \\\[String!\\\], "Use the disease ontology…

---

## [502 Bad gateway error when calling the API](https://community.opentargets.org/t/502-bad-gateway-error-when-calling-the-api/1015)

<div class="topic-metadata">

**Author:** [@Lucie\_Gattepaille](https://community.opentargets.org/u/Lucie_Gattepaille)\
**Replies:** 8\
**Last updated:** [29 January 2025 09:36 UTC](https://community.opentargets.org/t/502-bad-gateway-error-when-calling-the-api/1015 "2025-01-29T09:36:26Z")

</div>

Hello community! I am trying the retrieve pages with disease → targets associations. Some pages work, then every time, after a while, I get a 502 Error Bad Gateway. I am cautious of not getting my IP blocked, so I prefe…

---

## [Internal Server Error when using GraphQL](https://community.opentargets.org/t/internal-server-error-when-using-graphql/1479)

<div class="topic-metadata">

**Author:** [@Susan\_Xu](https://community.opentargets.org/u/Susan_Xu)\
**Replies:** 0\
**Last updated:** [8 July 2024 20:11 UTC](https://community.opentargets.org/t/internal-server-error-when-using-graphql/1479 "2024-07-08T20:11:57Z")

</div>

Hi, I’m using GraphQL API to extract BestLocus2Gene predictions for studies, and found a list of studies that either returned “internal server error” or “no data returned”. Here are the list of studies: #GCST012304 #G…

---

## [GraphQL example: Cannot query field 'id' on type 'Tractability'. (line 16, column 7)](https://community.opentargets.org/t/graphql-example-cannot-query-field-id-on-type-tractability-line-16-column-7/1407)

<div class="topic-metadata">

**Author:** [@koryclick](https://community.opentargets.org/u/koryclick)\
**Replies:** 2\
**Last updated:** [23 April 2024 08:17 UTC](https://community.opentargets.org/t/graphql-example-cannot-query-field-id-on-type-tractability-line-16-column-7/1407 "2024-04-23T08:17:28Z")

</div>

Hello OT community team! I am using the Playground GraphQL and I noticed you have a no updated ‘link’ below the example code to run a GrapQL sample query. When I click on it, I redirects me to the Playground GraphQL …

---

## [Limiting the number of entities in the response](https://community.opentargets.org/t/limiting-the-number-of-entities-in-the-response/1142)

<div class="topic-metadata">

**Author:** [@Orlando\_B](https://community.opentargets.org/u/Orlando_B)\
**Replies:** 1\
**Last updated:** [10 July 2023 18:58 UTC](https://community.opentargets.org/t/limiting-the-number-of-entities-in-the-response/1142 "2023-07-10T18:58:15Z")

</div>

Hello every one! I’m using your GraphQL data access point to extract some data. For example, the following code: query TargetDiseases { target(ensemblId: "ENSG00000157764") { id approvedSymbol associatedD…

---

## [Accessing locus-to-gene (L2G) and colocalisation data from Open Targets Genetics by querying the API using Python](https://community.opentargets.org/t/accessing-locus-to-gene-l2g-and-colocalisation-data-from-open-targets-genetics-by-querying-the-api-using-python/124)

<div class="topic-metadata">

**Author:** [@hcornu](https://community.opentargets.org/u/hcornu)\
**Replies:** 0\
**Last updated:** [3 June 2021 15:42 UTC](https://community.opentargets.org/t/accessing-locus-to-gene-l2g-and-colocalisation-data-from-open-targets-genetics-by-querying-the-api-using-python/124 "2021-06-03T15:42:32Z")

</div>

A user recently got in touch with the helpdesk to find out how they could obtain locus-to-gene (L2G) and colocalisation data for a specific gene in the Open Targets Genetics Portal. Here we present two ways of obtaining…

---

## [Sequence ontology data missing from output and ETL step](https://community.opentargets.org/t/sequence-ontology-data-missing-from-output-and-etl-step/862)

<div class="topic-metadata">

**Author:** [@thondeboer](https://community.opentargets.org/u/thondeboer)\
**Replies:** 2\
**Last updated:** [29 November 2022 03:01 UTC](https://community.opentargets.org/t/sequence-ontology-data-missing-from-output-and-etl-step/862 "2022-11-29T03:01:03Z")

</div>

I have a working version of OT running locally, but it seems that the Sequence Ontology data is not being processed by the platform-etl-backed code. I have the so-inputs but I don’t see to get any Sequence Ontology data,…
