Share via

The Specified Path is Invalid

Anonymous
2018-04-09T19:53:54+00:00

Hello, 

When saving edits to some files to One Drive for Business/SharePoint, users get an error message saying that the specified path is invalid. The files are pdfs being edited in Microsoft Edge. On most files this works fine, no error message and the changes are saved correctly. If we use save as, navigate to the correct folder, and save under a different name the new file saves just fine, but if we attempt to overwrite the original file it gives an error. The original file can still be accessed, just not saved. 

This is happening on multiple tablets running Windows 10 Pro. 

Any help diagnosing the problem would be appreciated. 

Thanks

Microsoft 365 and Office | OneDrive | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-04-25T15:20:56+00:00

After further testing, it looks like all files that have a '#' in the path name, but not the file name itself, are having this problem, and all other files are not. For example, a pdf called 'test#1' in a folder called 'test' works correctly, while a pdf called 'test' in a folder called 'test#1' does not. Given that # is not a restricted character and that the files were created and synced properly with this path, I'm not sure why that would matter. It also gives a solution, remove the # symbol from all paths, but I'd still be interested in knowing why that's causing problems. 

Onedrive Version 2018(Build 18.044.0301.0006)

Microsoft Windows [Version 10.0.16299.248]

Thanks for your help.

Was this answer helpful?

0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-04-25T08:44:25+00:00

    Hi Mimetus,

    Thanks for your reply.

    To troubleshoot this issue, please create a new pdf file to check if you can reproduce this issue.

    Besides, please share with me more info as below to let me help you:

    1. The version number of your OS(Win+R>type CMD>OK) and One Drive(Right click  the cloud icon>Settings>About.)
    2. Does this issue happens to other browser?

    Thanks,

    Neo

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-04-24T21:43:55+00:00

    Hi, 

    The files are being opened and edited in Microsoft edge, then being saved to the one-drive folder. 

    The path name should be fine, especially since the files are already saved in one-drive, that's how the users are opening them. If the path name was really invalid I imagine they wouldn't be able to do that. In any case, there are no invalid characters and the file name is well below the limit. 

    The files are being accessed from a one-drive folder on the local disk, not through a browser. They aren't being specifically saved beyond the normal one-drive folder syncing. If we try to upload/overwrite through a browser to SharePoint directly, then it works successfully, even from the same accounts that are unable to save to the one-drive folder.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-04-11T08:13:50+00:00

    Hi Mimetus,

    Did you check the information above?

    Regards,

    Joanne

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-04-10T03:56:34+00:00

    Hi Mimetus,

    Please check if you exceed the restrictions and limitations that apply when you use OneDrive sync client to sync OneDrive for Business libraries to your computer described in this article: Restrictions and limitations when you sync files and folders. For example, check if there is invalid character, unspported file name or folder name and so on.

    If you have checked the above, I'd like to confirm some information to better understand your situation:

    1.  Please help provide the filename and the entire file path via private message.

    2.  Generally, we can't edit PDF in OneDrive for business, how do you edit the PDF file and save the changes?

    3.  Do you sync your OneDrive for Business files to your local drive and then edit and save the file there?

    4.  Please capture a screenshot of the error message.

    Regards,

    Joanne

    Was this answer helpful?

    0 comments No comments