Usually this happens because the flow is not valid JSON.
Double check the flow and make sure it is complete. [ and ] at the very least…
Sometimes it can happen if you do a ctrl+c rather than a mouse right click paste.
So try either other.
Sometimes it can happen if there is no new-line at the end of the paste.
So try putting the mouse at the end, and hit return.