Sent an HTTP request to Sharepoint in microsoft flow error: “Server relative urls must start with SPWeb.ServerRelativeUrl”

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/252863

Pergunta

I am using HTTP request to Sharepoint in microsoft flow to get the image file from SharePoint. I am getting below error:

{ strong text "message": "Server relative urls must start with SPWeb.ServerRelativeUrl\r\nclientRequestId: fb4b8fad-a324-4e4f-9bae-9c887459adc7\r\nserviceRequestId: 9d57a39e-70e2-7000-8ba9-e2604dd27bdb", "status": 400, "errors": [ "-2147024809", "System.ArgumentException" ] }

enter image description here

Please help to resolve this error.

Thanks in advance.

Foi útil?

Solução

Make sure that

  1. You have provided the correct site address URL
  2. The file path is not started with a Forward Slash / that should be like this
GetFolderByServerRelativeUrl('Temp Directory/NewIssue.png')
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top