Item not found - Error 500 - Internal server error MICROSOFT 365 SCOPE

When trying to download or upload any file within sharepoint, this error occurs. The activity was working and suddenly it didn’t work anymore

Hi @wilson.grimaldi
Welcome to the UiPath forums!

Is it possible that the SharePoint directory or path has changed?
The way Office365 activities are designed, it can be sometimes difficult to assess which factor has changed.
Can you please share the error details? And also please verify that the file/folder being referenced is accessible to the user/client secret used by Office 365 scope.

The directory has not changed, I can still access it through the find files and folders activity
My problem is when I try to download or upload a file.

Error output:
Message: Item not found
Inner error:
date: 2021-08-11T13:12:41
request-id: 882b6c60-b2e7-438f-84ff-4704bc7f3052
client-request-id: 882b6c60-b2e7-438f-84ff-4704bc7f3052
ClientRequestId: 882b6c60-b2e7-438f-84ff-4704bc7f3052

Error 500 - Internal server error

body {
color: #F0AB00;
font: 12px Arial,Helvetica,sans-serif;
background-repeat: no-repeat;
background-size: 100%;
height: 100%;
margin: 0;
background: #000000; /* Old browsers /
background: -moz-linear-gradient(top, #000000 55%, #666666 100%); /
FF3.6+ /
background: -webkit-gradient(linear, left top, left bottom, color-stop(55%,#000000), color-stop(100%,#666666)); /
Chrome,Safari4+ /
background: -webkit-linear-gradient(top, #000000 55%,#666666 100%); /
Chrome10+,Safari5.1+ /
background: -o-linear-gradient(top, #000000 55%,#666666 100%); /
Opera11.10+ /
background: -ms-linear-gradient(top, #000000 55%,#666666 100%); /
IE10+ /
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#000000’, endColorstr=’#666666’,GradientType=0 ); /
IE6-9 /
background: linear-gradient(#000000 55%,#666666 100%); /
W3C /
#content {
background: #ffffff; /
Old browsers */
background: rgba(240, 171, 0, 0.9);
border: #FFFFFF 1px solid;
color: #222222;
position: absolute;
top: 50%;
left: 50%;
margin-left: -300px;
margin-top: -100px;
width: 600px;
height: 200px;
padding: 10px;
font-size: 17px;
-webkit-box-reflect: below 10px -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(.66, transparent), to(#FFF));
#footer {
position: absolute;
bottom: 0px;
left: 50%;
text-align: center;
width: 220px;
margin-left: -110px;
#error h1 {
font-weight: normal;
font-size: 28px;
margin-bottom: 20px;
margin-top: 0;
color: #ffffff;
#solution {
position: absolute;
bottom: 10px;
left: 10px;
#solution h2 {
font-weight: bold;
font-size: 16px;
color: #ffffff;
#left {
width: 480px;
float: left;
#right {
position: absolute;
top: 0;
right: 0;
color: rgba(0,0,0,0.2);
width: 120px;
float: right;
font-size: 200px;
padding-top: 0;
#logout {
position: absolute;
right: 15px;
font-size: 17px;
color: white;
cursor: pointer;

500 - Internal server error

An error occurred during the processing of your request.

Data might be lost.


Possible solution

Please contact your system administrator.

logout icon
Log Out

powered by SAP XSEngine Classic

The html after “Error 500 - Internal server error” makes me think this isn’t a Microsoft Graph issue at all.
If you’re trying to upload through Office 365 activities, how are you getting this part?
Are you accessing a webpage where this messages shows up?

Also, since the exception trace shows no particular error detail except for the generic message (Item Not Found), I’d suggest verify that the output returned via Find Files and Folders activity is correctly referenced when creating SharePoint item.
Also, any change the app/delegated permissions in Azure portal have been changed?