Hi ,
I am using Get Document Metadata Operation to Retrieves metadata for a document on SharePoint . But i am facing below error.
"SharePoint returned a 400 HTTP error
SharePoint returned the following error code: -2147024809, System.ArgumentException Server relative urls must start with SPWeb.ServerRelativeUrl"
PFB Screenshot . Any solution to below issue?
Thank you.
Discussion posts and replies are publicly visible
Seems like the issue is with the path: https://www.spguides.com/sharepoint-server-relative-urls-must-start-with-spweb-serverrelativeurl-csom/
yea Shyam Bommakanti . Incorrect path was causing issue. Thanks much
Can you please tell me what change in the path yielded the right result?
spoorthyn0001 I saw the reference link and corrected the path. It worked :)