Hi all, getting 504 gateway timeout error in get o...
# gooddata-cloud
f
Hi all, getting 504 gateway timeout error in get organization endpoint (/api/v1/layout/organization). Linking my previous related thread as well: https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1725475026726109
Copy code
<html>

<head><title>504 Gateway Time-out</title></head>

<body>

<center><h1>504 Gateway Time-out</h1></center>

<hr><center>nginx</center>

</body>

</html>
j
Hi Faizah, can you please confirm which domain you are making this call on? I see the test and prod. Also, Have you made any changes recently to the org itself?
f
@Joseph Heun Domain is https://borderpass.cloud.gooddata.com, and we haven't made changes recently to the org
f
Thanks for letting us know, Faizah! As you noted, it most likely does relate to the other thread you linked on the original message, and some internal processing limits being hit. I’ll follow up with Radek, who had been looking into this, to check for any updates. Thank you!
j
Hi @Faizah Sayyid I’m currently checking about this isssue internally. I’ll get back to you with my findings
Hi Faizah, may I know your use case for GETing the organization layout? The problem is that the layout itself is most probably too big and generation of the org layout doesn’t finish in time and hit the timeout limit
f
@Jan Kos yes, i'd like to edit one of the user groups to add the "self create token" permission
j
Hi @Faizah Sayyid to set up permissions you can use https://www.gooddata.com/docs/cloud/api-and-sdk/api/api_reference_all/#operation/manageOrganizationPermissions it is incremental API in the context of users/groups: • you can add org. permissions for a new user or group • you can delete all org. permissions for a user or group (just setting an empty list for the
permissions
field in the body) • you can edit permissions for a user or group (in this case, it is destructive = permissions in the
permissions
field are overwriting the existing ones) • additionally, it is a “batch” API, so you can do ^ with any number of users or groups or their combination
this article indeed suggest to use organization layout api https://www.gooddata.com/docs/cloud/manage-organization/manage-permissions/set-permissions-for-organization/#ManageOrganization[…]sforanOrganization but it is a bit outdated, we are following up with documentation team to update the article
f
I'll try this out thanks