Share via

Moving folder - Microsoft.SharePoint.SPException - Invalid or non existing URL

Anonymous
2024-02-20T12:42:46+00:00

Goodmorning,

I am trying to move one folder within another (still in my personal OneDrive Business storage space), but I get the following error (translated from my language)

Microsoft.SharePoint.SPException: The URL "XXX" is not valid. It may refer to a non-existent folder or file, or to a valid folder or file that is not found on the current web. ---> System.Runtime.InteropServices.COMException: The URL "/XXX" s not valid. It may refer to a non-existent folder or file, or to a valid folder or file that is not found on the current web.  at Microsoft.SharePoint.Library.SPRequestInternalClass.MoveUrl(String bstrUrl, StorePath bstrWebRelOldUrl, StorePath bstrWebRelNewUrl, MoveUrlFlags moveFlags, String etagMatch, Guid& pgOriginatorId, String& pbNewETag, Boolean fAllowNoExecuteWebFileUpdate, Int64& plldestListFlags, Int32 iSearchFlags, Int32 iThrottleThreshold)  at Microsoft.SharePoint.Library.SPRequest.MoveUrl(String bstrUrl, StorePath bstrWebRelOldUrl, StorePath bstrWebRelNewUrl, MoveUrlFlags moveFlags, String etagMatch, Guid& pgOriginatorId, String& pbNewETag, Boolean fAllowNoExecuteWebFileUpdate, Int64& plldestListFlags, Int32 iSearchFlags, Int32 iThrottleThreshold)  --- End of inner exception stack trace ---  at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)  at Microsoft.SharePoint.Library.SPRequest.MoveUrl(String bstrUrl, StorePath bstrWebRelOldUrl, StorePath bstrWebRelNewUrl, MoveUrlFlags moveFlags, String etagMatch, Guid& pgOriginatorId, String& pbNewETag, Boolean fAllowNoExecuteWebFileUpdate, Int64& plldestListFlags, Int32 iSearchFlags, Int32 iThrottleThreshold)  at Microsoft.SharePoint.SPFolder.MoveCopyInternal(SPResourcePath newPath, MoveUrlFlags grf, String etagMatch, Guid originatorId, String& newETag, Int32 searchFlags, Int32 throttleThreshold)  at Microsoft.SharePoint.SPFolder.MoveTo(SPResourcePath newPath, SPMoveOperations moveOptions)  at Microsoft.SharePoint.Administration.SPMigrationOrchestrator.PerformSameWebShallowCopy(SPCopyMigrationParameters migParams)

Does anyone know how to solve this?

Thanks in advance,

Best regards

N

Microsoft 365 and Office | OneDrive | For business | Other

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

5 answers

Sort by: Most helpful
  1. Anonymous
    2025-03-10T09:50:21+00:00

    Same problem here, any resolution please?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-12-16T12:13:57+00:00

    Same problem here in Brazil. I was trying to move a folder and this error appeared. Waiting for solutions.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-09-26T08:18:59+00:00

    Same problem here,

    I don't understand that in a supposedly professional File management system you cannot even move a folder ...

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-08-13T15:21:26+00:00

    Hi Nicolò Chierichetti,

    Any updates on the issue? Did you find any permanent fixes? We have similar issue in the Picture Library.

    Thanks,

    Pratik

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-02-20T15:46:35+00:00

    Dear Nicolò Chierichetti,

    Greetings! Thank you for posting in Microsoft Community.

    I'm sorry to hear that you're experiencing an issue with moving a folder in your OneDrive for Business storage space. Based on the error message you provided, it seems that the URL you are trying to move the folder to is not valid or does not exist.

    Please ensure that the URL you are trying to move the folder to is correct and exists in your OneDrive for Business storage space. You can also try moving the folder to a different location to see if the issue persists.

    If the issue continues, you may try clearing your browser cache and cookies, or try using a different browser(Edge, Chrome, Firefox) to see if that resolves the issue.

    If the issue still persists, I understand how frustrating this situation can be and sincerely apologize for the inconvenience caused.

    I believe the problem is related to the back end where it needs to further check by the related team by collecting the background logs.

    So, I suggest you raise a support ticket from the Microsoft 365 admin center, where the related team will collect the logs and find out the cause of the problem. This would be the most efficient way in handling this case for you.

    Reference: Get support - Microsoft 365 admin | Microsoft Learn

    Note: To create a support ticket, you need to have Microsoft 365 admin privileges and if you aren’t admin of your Microsoft 365 organization, please contact the admin of creating a new ticket.

    Reference: How do I find my Microsoft 365 admin? - Microsoft Support

    Please accept my apologies for redirecting you to the related team support as the moderators in this community have limited resources to check the back end information, and to get the fast and better assistance we requested for it.

    Appreciate your patience and understanding and thank you for your time and cooperation.

    Sincerely,

    Tina | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments