Hi, sorry if this question has been answered a thousand times already.......... I am new and can't specify the search properly to get the right answer
I want my flow to create a new sharepoint site and then want to copy a file from a reference sharepoint site to my new site. I am able to create the site using an HTTP POST with /_api/SPSiteManager/create. I then parse the Output to recover the newly created SiteURL. I then use this recovered value as my destination location and use a string value of /Shared Documents/ as the destination folder.
This generates a 400 message as follows
"Failed to verify the existence of destination location at 'https://XXXXXXXXXXXXX.sharepoint.com/sites/NEWSITE/Shared Documents/' due to error 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId: 6df2058e-02c6-46b2-be21-ea15e1b2264e\r\nserviceRequestId: 6df2058e-02c6-46b2-be21-ea15e1b2264e"
Is it that the list of sites is not being refreshed, or am I missing something?
Thanks in advance