Skip to main content
spoorthyn0001
July 12, 2021
Question

Get Document Metadata - Server relative urls must start with SPWeb.ServerRelativeUrl

  • July 12, 2021
  • 5 replies
  • 0 views

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

error-result-guidance

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.

    5 replies

    July 12, 2021
    spoorthyn0001
    July 13, 2021

    yea [mention:6b89e01f11884b02b74bb1e171598bc7:e9ed411860ed4f2ba0265705b8793d05] . Incorrect path was causing issue. Thanks much

    aishwaryae
    August 2, 2021

    Can you please tell me what change in the path yielded the right result?

    raulg0005
    November 4, 2021

    Hello! did you manage to get the metadata of a document in SharePoint at the end?
    I have the same problem as you, and I can't get the integration to work.

    400 HTTP error

    Server relative urls must start with SPWeb.ServerRelativeUrl