I'm using Power Automate to save files from Microsoft Forms into SharePoint folders.
However, the Create file action fails with the error:
"The specified file or folder name is too long. The URL path for all files and folders must be 400 characters or less."
I'm using a dynamic file name that comes from the uploaded file, and I believe it's too long.
How can I safely shorten the file name or avoid this issue altogether?
Is using guid() a good solution, or should I truncate the original name?
Thanks in advance!

Report
All responses (
Answers (