# GraphQL Associations not loading

**URL:** <https://community.hubspot.com/t/graphql-associations-not-loading/79794>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [April 21, 2023, 3:13am UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794 "2023-04-21T03:13:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBrake](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbrake/32/76513_2.png) [@JBrake](https://community.hubspot.com/u/JBrake)\
**Post date:** [April 21, 2023, 3:13am UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/1 "2023-04-21T03:13:49Z")

</div>

I am having an issue with GraphQL where my associated objects are not loading in my query. I’ve check all association and association labels exist and that there is data to be loaded via the parent object.

Please help save my receeding hairline…

Jonathan

 ![784739_1_qraphql_associations.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/b/cb38ca3ee457c93fbaf8b2e836ba0f6d8994723b.png)

 ![784739_2_api_associations.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/4/44bc55792edad8e338c3c4bf22477118e6d97332.png)

 ![784739_3_CRM_associations.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/6/46d1ecc177a10f2fc8d27914757abc98ec37ca9f.png)

![784739_4_crazy-hair-wrestling.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/6/66c20f10352b128e79597a94432a8bd4540d46d4.gif)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 21, 2023, 10:56pm UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/2 "2023-04-21T22:56:12Z")

</div>

Hi, @JBrake. Thanks for your question. Let’s invite some community members to the conversation — hey @Kevin-C @TDwebdev @Teun, can you offer any insight to @JBrake? Or do you have any troubleshooting tips you like to use in cases like this?

Thank you very much for taking a look.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [April 21, 2023, 11:19pm UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/3 "2023-04-21T23:19:52Z")

</div>

Thanks [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

Hey @JBrake

Are your aliases nested inside an “associations” field? See my example below:

 ![KevinC_1-1682119182179.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/d/ddf7e3090d2637a3b6100bf8aa431fe582bacd76.png)

Based on the number of closing brackets I would first guess that it may not be.

---

<div class="post-metadata">

**Author:** ![JBrake](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbrake/32/76513_2.png) [@JBrake](https://community.hubspot.com/u/JBrake)\
**Post date:** [April 23, 2023, 8:44pm UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/4 "2023-04-23T20:44:16Z")

</div>

Hi Kevin,

Yes they are:

 ![JBrake_0-1682282482130.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/f/cf43dccd4dac3f9722b6fcbd76e57332a2f8affc.png)

I’m not clever enough to write this stuff from scratch just yet.

I am getting throug the assets no problem…

I’ve since double check the association replation ship goes both ways and my request allowance is well under the 30000 point.

Regards,

Jonathan

---

<div class="post-metadata">

**Author:** ![JBrake](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbrake/32/76513_2.png) [@JBrake](https://community.hubspot.com/u/JBrake)\
**Post date:** [April 24, 2023, 1:59am UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/5 "2023-04-24T01:59:25Z")

</div>

Hi Kevin,

Unfortunately this is in serverless function land so the debug query didn’t work (or i couldn’t figure out how to make it work)  
I did do a reverse look up from each ticket \> associations \> parent successfully, which I found odd that it works one way and not the other. hmm…

Regards,

Jonathan

---

<div class="post-metadata">

**Author:** ![JBrake](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbrake/32/76513_2.png) [@JBrake](https://community.hubspot.com/u/JBrake)\
**Post date:** [April 30, 2023, 9:13pm UTC](https://community.hubspot.com/t/graphql-associations-not-loading/79794/6 "2023-04-30T21:13:25Z")

</div>

Hi there, appreciate the effort so far but still no resolution of the issue. Since original post we have removed and re-created all the associations and label.

I can see the labels are working in the associoations tab of the Object (clicked though and they are correct), but the result is still not feeding through in the GraphQL query..

 ![JBrake_0-1682889148714.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/1/f105dc43000db3283cfb6755a23c8d8a4dae919a.png)

Regards,

Jonathan
