How to resolve GraphQL error?

While Access the application for some User we are getting these error.
GraphQL error: Response must not exceed 5242880 bytes in size.
GraphQL error: The underlying service call timed out

Can someone helps us to resolve this issue?

Hello @RAJATJADON,

The error is actually pretty explicit: the response of your GraphQL call is too big.
You need to find a way to reduce its size. In our case, we did:

  1. returning fewer properties, by asking the Jira API exactly the right properties and then transforming a little bit the payload to reduce its size
  2. returning fewer items if the response contains multiple items. Aka if it is a call requesting 1000 items, and we get this error, we catch it and re-try with 800
  3. we compress and then base64 the data on the backend, and then does the revert on the frontend, for data we knew had a great compression ratio. I found this quite ugly, but allowed us to unblock some cases