Anyone know why the genesyscloud export command fails when targeting Architect flows?
Running the export for our dev workspace:
genesyscloud export --type flow --output ./flows-export.json --workspace dev
Returns a 403 Forbidden on three specific flows, while others export successfully. The user token has flow:flow:read and flow:version:read scopes. I verified access via the UI and the REST API directly.
GET /api/v2/flows returns the full JSON for those flows without issue. The CLI logs show:
Error: Failed to export flow 'ivr-main': 403 Forbidden
Detail: Insufficient permissions to access flow version data
The flows are not archived. They are in DRAFT status. Is there a known limitation with the CX as Code CLI for exporting DRAFT flows vs PUBLISHED? Or is this a scope issue with the CLI’s internal API calls?