Hi,
I want to copy old document version from SPO library to arcive library, I found this REST API:
https://site/_vti_history/1024/Documents/Document.docx
When I click this URL the file start to download to my machine
So I tried this action of "Copy File":
But I get "BadGateway" error:
How can I copy the file from the REST API?
Thanks,
Hi @Saharc,
When using the action Copy file, we are asked to specify a file for the field "File to copy" using a valid File Identifier. It is either a dynamic content “File identifier” from the previous trigger/action, or a specific file that you selected from the SharePoint library.
Please take a try with it on your side.
Best regards,
Mabel
If I use "/Documents/Document.docx" in "File to copy" it work, but I want to copy file from API: "/_vti_history/1024/Documents/Document.docx" and this doesnt work
Is there a way?
Thanks,
User | Count |
---|---|
87 | |
73 | |
43 | |
26 | |
26 |
User | Count |
---|---|
42 | |
27 | |
25 | |
23 | |
18 |