I am trying to publish a flow but receiving the following error via API as well as the dashboard.
You need to verify that the flow has valid Flow JSON before publishing
I have 0 flow JSON errors and it's running on playground.
For all those facing the same issue, I was not shown any JSON errors in my earlier flow. I tried creating a different flow with the same JSON and an error popped up.