We are currently debugging a persistent timeout issue within our AppFoundry partner application, which manages user provisioning across multiple Genesys Cloud organizations using the Platform API. Specifically, when executing bulk updates to user attributes via the /api/v2/users endpoint, we encounter a 504 Gateway Timeout after approximately 45 seconds, despite the payload containing only 50 user objects.
Our integration uses the Genesys Cloud Node.js SDK (v3.15.0) and operates within a multi-tenant architecture where we rotate OAuth access tokens per organization. The request body includes standard fields such as name, email, and custom attribute mappings required for our CRM sync. Interestingly, individual user updates succeed without issue, suggesting the problem lies in the batching logic or server-side processing limits for concurrent write operations.
We have verified that the API rate limits (100 requests per minute per organization) are not being exceeded, as we implement exponential backoff and throttle requests to 10 per second. The timeout occurs consistently when the payload exceeds 30 user objects. We are operating in the US-East region, and our server logs indicate the request is sent successfully but no response is received from the Genesys Cloud edge.
Could this be related to how the Platform API handles bulk writes in a multi-org context? Are there specific headers or batching strategies recommended for partner applications performing high-volume user synchronization? We want to ensure our integration remains stable during peak provisioning windows.