Script Node API 400 Error on Dynamic Text Injection

Anyone know why the Scripting API returns a 400 Bad Request when injecting dynamic text via variables?

We are building a multi-org AppFoundry integration that pushes script updates programmatically. The payload validates locally but fails on the Genesys Cloud server side.

The error response lacks specific field details, making debugging difficult. We are using standard OAuth tokens with full scripting permissions.

Any insights on the expected JSON structure for dynamic content blocks would be appreciated.