Anyone know why the Script API is rejecting our requests with a 403 Forbidden error? We are attempting to update agent scripts dynamically based on WFM schedule availability in the Chicago cluster.
The integration uses the latest Genesys Cloud SDK. The issue occurs specifically when the script update is triggered by a shift swap approval webhook rather than a direct schedule publish.
We have verified that the OAuth token has the correct ‘script:write’ permissions. The logs show the request reaches the endpoint but fails authentication validation.
Any insights on scope limitations for event-driven script updates would be appreciated.