Genesyscloud-python 400 on Architect IVR Flow Push with Circular Dependency

genesyscloud-python v5.2.1 throws HTTP 400 when pushing IVR updates to POST /api/v2/architect/flows. Console output returns {"error":"INVALID_FLOW_STRUCTURE","message":"Node reference circular dependency detected in block 42"}. The request bundles a custom transfer block with type: queue and a misaligned queue_id.

  • SDK: 5.2.1
  • Region: us-east-1
  • Runtime: Python 3.11
  • Flow: a8f3c2d1
    The retry loop doesn’t recover. Doing jack all on the staging edge while this blocks the pipeline.
{
 "error": "INVALID_FLOW_STRUCTURE",
 "message": "Node reference circular dependency detected in block 42"
}

This exact INVALID_FLOW_STRUCTURE error happens in email auto-routing rules when a next_block ID points back to itself. Check the JSON payload for block 42 and make sure the transfer action isn’t routing to its own ID.