Stuck on a persistent 500 Internal Server Error when attempting to register a new tenant via the BYOC Edge API in our partner integration suite.
Our AppFoundry partner application manages a multi-tenant architecture where each client Genesys Cloud organization requires a dedicated BYOC Edge instance for secure SIP trunking and media isolation. We are currently automating the provisioning process using the POST /api/v2/boundary/edges endpoint, authenticated via the platform OAuth token generated for the specific partner org. The payload includes the standard name, type (set to sip), and the required sip_settings block with the correct host and port configurations derived from our private AWS VPC endpoints.
The issue manifests specifically during the final registration step where we associate the edge with the customer’s tenant using POST /api/v2/boundary/edges/{edgeId}/tenants. While the edge creation itself succeeds with a 201 Created status, the subsequent tenant association returns a 500 error with an empty response body after a 15-second delay. This behavior is inconsistent; it works intermittently for smaller accounts but fails reliably for organizations with more than 500 concurrent session licenses. We have verified that the IAM roles attached to the EC2 instances hosting the BYOC software have full s3:PutObject and kms:Decrypt permissions, ruling out common AWS permission issues. Network connectivity to the Genesys Cloud control plane is confirmed via successful health checks on port 443. Given our previous experiences with WebSocket rate limiting and OAuth scope restrictions in multi-org setups, we suspect this might be related to asynchronous validation jobs timing out or a hidden rate limit on the boundary service itself. We are using the latest version of the BYOC software (v2.4.1) deployed on AWS. Any insights into why the tenant association fails with a generic 500 error rather than a descriptive 4xx code would be appreciated, as the lack of error details makes debugging this scale-dependent failure nearly impossible.