Identity API returning 504 for users with large pledge histories

Hello,

We are seeing 504 Gateway Timeout errors from the Identity API for some users with large memberships.pledge_history datasets.

Our application requests the following scopes:

  • identity

  • identity[email]

  • identity.memberships

The issue occurs when calling the Identity endpoint. Requests for affected users take more than 10 seconds and eventually return a 504 response.

Error 504: “Request timed out ¯_(ツ)_/¯”

This behavior was not occurring previously and seems to affect only users with extensive pledge histories.

This issue is affecting our application and preventing some users from using some features in our platform.

Can you confirm whether this is a known issue and whether a fix is planned?

Thank you.

The error also occurs when requesting memberships.currently_entitled_tiers, especially for users who have a large number of campaign tiers.

If the endpoint is supposed to return all entitled tiers, why is it now being limited by a timeout?