Unable to upload file to sharepoint

Hi @Nathan_Betters1

Can you check the path showed in the error whether any file is available there , the screenshot of the file has a different path than in the error path so kindly check there

You can also try like this
if File.Exists(“Path in the error + file.pdf”)
True - upload file
False - Copy file from one drive folder to the path showed in the error and then upload file

Hope this helps

Regards
Sudharsan