Upload File to Sharepoint

Hi, I have a problem when trying to upload a file to Sharepoint.
I used the “Find Files and Folders” activity in Microsoft Office 365 and then the “Upload File” activity. I get the following error:
It tells me that the path is incorrect, I have followed the instructions and I don’t know what could be wrong. :persevere:
Can someone help me?

Thank you very much :slight_smile:

1 Like


Welcome to forums

Could you please share more Info on the error like some screenshot of the workflow you are doing



Welcome to UiPath forum

Have a view on this thread with similar discussions and solutions as well


1 Like

I would first type the path you are using in a word doc manually and then click it to see if the site opens. It may be that you do not have the full path identified…does your path start with //https: and end with .aspx?

Hi @ELISA_ARTALEJO_BARINAGA Welcome to the Forum !

Did you solve your problem?

Hi! I have tried what you say about the url link by pasting it into a word and it works perfectly, it starts with https:// and does not end with .aspx.

In reply to another comment I have attached a more detailed picture of the process.

Thanks for your help!

Not yet! I am still trying to fix the error.

Thanks. Can you tell me what version your package is?

I understand you mean the Microsoft Office 365 package:

Thanks to you!


This maybe could help … Upload File To A Document Library In SharePoint

Lets us know.

Hi @carmen,
That is the model I followed and I got the error.
I haven’t put the activity “get item info” because it doesn’t appear, could that be the problem? How do I make it appear? It is not included in the Office 365 package to me.


You are right … I just downloaded to check and also I couldnt find it …

I would also suggest give a try to this other activities … also you can find a pdf with a clear documentation …

your site address begins with https:// and ends with .aspx? This is the sharepoint URL. The rest of your URL is an absolute address for the sub-folder. Use just the Sharepoint address in your code and see if you can access Sharepoint that way in your automation


I guess what Chris meant the url to be:
(I guess the former one is the correct one.)

How does that work?

Correct - O365 Sharepoint sites end in aspx. This tells me that since you cannot get into the site with just the aspx it means that whatever account your bot is using to attempt entering the sharepoint site is access restricted.

Thank you all! :slight_smile:
Finally changing the url to “https://XXXX.sharepoint.com/sites/UKProcurementTeam-Internal” as @AigoHigurashi advised me and changing the path in “subfolder” and “Drive Name”, I managed to upload it.
If anyone wants more details of the process, please write to me.

I wouldn’t have made it without your help, thanks again.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.