# How to fix the Patreon identity endpoint timeout

**URL:** <https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400>\
**Category:** Uncategorized\
**Created:** [July 22, 2026, 9:05pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400 "2026-07-22T21:05:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![del1an](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/del1an/32/3072_2.png) [@del1an](https://www.patreondevelopers.com/u/del1an)\
**Post date:** [July 22, 2026, 9:05pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400/1 "2026-07-22T21:05:31Z")

</div>

**GET** `/api/oauth2/v2/identity?include=memberships.currently_entitled_tiers` returns `504 Gateway`

Timeout for users with many memberships. The timeout happens server-side (~10s) regardless of pagination (page[count]=10), field selection, or other includes combined with it.

`memberships.campaign.tiers` fails the same way.

Reproduction (requires identity identity.memberships token for a user with about 400+ memberships):

```javascript
// Requires: access token with "identity identity.memberships" scope
const TOKEN = process.env.PATREON_ACCESS_TOKEN;
const BASE = "https://www.patreon.com/api/oauth2/v2";

async function call(label, url) {
  const res = await fetch(url, { headers: { Authorization: `Bearer ${TOKEN}` } });
  console.log(`[${label}] -> ${res.status}`);
}

// Works
await call("memberships only",
  `${BASE}/identity?include=memberships&fields%5Bmember%5D=patron_status`);

// 504 - adding currently_entitled_tiers
await call("memberships + currently_entitled_tiers",
  `${BASE}/identity?include=memberships,memberships.currently_entitled_tiers`);

// 504 - same as WP plugin's fetch_user() pattern
await call("WP plugin exact pattern",
  `${BASE}/identity?include=memberships.currently_entitled_tiers,memberships.campaign` +
  `&fields%5Bmember%5D=currently_entitled_amount_cents,patron_status,pledge_relationship_start`
);

```

---

<div class="post-metadata">

**Author:** ![isaaclopinho](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/isaaclopinho/32/2288_2.png) [@isaaclopinho](https://www.patreondevelopers.com/u/isaaclopinho)\
**Post date:** [July 23, 2026, 4:19pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400/2 "2026-07-23T16:19:25Z")

</div>

Request timed out ¯\_(ツ)\_/¯

---

<div class="post-metadata">

**Author:** ![noertap](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/noertap/32/2868_2.png) [@noertap](https://www.patreondevelopers.com/u/noertap)\
**Post date:** [August 18, 2026, 8:01pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400/3 "2026-08-18T20:01:05Z")

</div>

@del1an and @isaaclopinho - the issue should be resolved now. Can you please confirm that you aren’t seeing it anymore?

---

<div class="post-metadata">

**Author:** ![isaaclopinho](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/isaaclopinho/32/2288_2.png) [@isaaclopinho](https://www.patreondevelopers.com/u/isaaclopinho)\
**Post date:** [September 1, 2026, 3:30pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400/4 "2026-09-01T15:30:55Z")

</div>

@noertap its fixed 👍

---

<div class="post-metadata">

**Author:** ![noertap](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/noertap/32/2868_2.png) [@noertap](https://www.patreondevelopers.com/u/noertap)\
**Post date:** [September 9, 2026, 10:18pm UTC](https://www.patreondevelopers.com/t/how-to-fix-the-patreon-identity-endpoint-timeout/11400/5 "2026-09-09T22:18:32Z")

</div>


