We are unable to do any deployments with Bitbucket Pipelines because of the following error message: “Maximum Flow versions reached”. The flow that is erroring is not even being updated. The flow that is erroring has 10 versions and we are on a Salesforce Enterprise license. We tried deleting an old version of the flow but still receiving the same error message.
Can anyone make any recommendation of the possible cause of the issue.
sfdx force:mdapi:deploy -l NoTestRun -w -1 -d mdapi -u $CI_USER_NAME –verbose
=== Component Failures [1]
TYPE FILE NAME PROBLEM
───── ──────────────────────── ─────── ──────────────────────────────
Error mdapi/flows/Rewrite.flow Rewrite Maximum flow versions reached.
ERROR running force:mdapi:deploy: The metadata deploy operation failed.