I tried to save as a new flow and got the above error but the new flow was created. Is there any problem and how to fix it?

I tried to save as a new flow and got the above error but the new flow was created. Is there any problem and how to fix it?