A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
I'm still trying to debug this to establish exactly where the issues is. Here's my hunches:
- This does NOT appear to be related to any deprecated functionality. There are 2 actions - 'Copy file' and 'Copy file (deprecated)'. I'm using 'Copy file' and having the issue.
- The only number in the outputs appears to be in the 'If Another File is Already There' field. When setting the 'Copy file' parameters this is set to 'Replace', but in the Outputs it appears as '1'.
- Here's what Copilot makes of the error:
"It seems that the error occurred due to an "Invalid number value" in the Copy_file operation. To fix this, check the parameter 'nameConflictBehavior' in the CopyFileAsync action. Ensure that the value provided for 'nameConflictBehavior' is a valid number according to the requirements of the destination library. Double-check the value being passed for 'nameConflictBehavior' to resolve this error."
This appears to support the theory that the issue relates to the parameter of what to do if a file already exists in the destination. - I've tried recreating the Flow and simplifying it as much as possible, using both Classic and New Designer, and still get the same error.
- Conclusion: Microsoft have broken / changed something and need to fix it ...
If you've found anything further, please let us all know!