Architect Script Node failing with 403 during IaC deployment

Having some config trouble here when applying the Terraform plan for a new IVR flow. The genesyscloud_flow resource fails during the creation phase. Specifically, the embedded script node returns a 403 Forbidden error. This is happening in the au-east-1 environment.

The flow definition is valid JSON, validated locally. The OAuth token has flow:write and flow:read scopes. The issue appears isolated to the script content injection.

Here is the relevant HCL snippet:

resource "genesyscloud_flow" "ivr_main" {
 name = "Main IVR"
 description = "Test flow"

 flow {
 ...
 script {
 id = "script-123"
 content = "<html><body>Test</body></html>"
 }
 ...
 }
}

The error message in the logs states: Error creating flow: 403 Forbidden. Message: Insufficient permissions for resource type 'script'.

This is very strange because the same token works for manual API calls via Postman. Is there a known bug with script resources in the current provider version? Or is there a hidden dependency I am missing in the IAM roles for automated deployments?