Copy Pasting a file in sharepoint

Hello,

I’ve created a MAKE automation that generates folders and subfolders in a SharePoint. That part works fine.

However, I’d like to also copy a document template into one of the created folders, but the API call returns a 500 error.

The company’s IT department confirmed I have the necessary access (see screenshot below).

also below, a screenshot of the API call.

Any advice?


Hey @Julien_Mottet,

If you haven’t already, please install the Make Dev Tool and run this again with Live Debugging and/or Scenario Debugger history and hopefully you’ll get a little bit more info from the API response than what Make is showing you.

Also, looking at your module, if this is the SharePoint Make an API Call, be sure your URL begins with a forward slash then v1.0. In the screenshot, only seeing v1.0 instead of /v1.0

Thank you for your tips.

I added the / → Same result.

with the Make dev tool, i noticed that “called at” is “Not available”

So of those 4 headers on the top there, need to switch to Response Body, what’s what output?

here is :slight_smile: - the response header and the response body


Darn, not as helpful as I’d hoped!

Maybe replicate in Postman so you can quickly tweak it until you figure out why it isn’t working?