Hi @Sarah C ,
Thank you very much for your sharing.
By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
["Invalid file name" error when no file is uploaded in SharePoint list]
Issue Symptom:
We have a SharePoint list with some PowerAutomate flows. Everything was working fine until we renamed the list, updated some columns and used a powershell script to change the URL to match.
That said, I do not get an error like my colleagues do when they try to save a new list item without an attachment. Their error is:
Current status:
In this case, it was that we had used the script to change the URL but the team were still using the old "form link" (the one from the "new" button "copy link"). #UserError
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community members to see the useful information when reading this thread.
Thanks for your understanding!