cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper IV
Helper IV

Trying to use Send an HTTP request to SharePoint getting a Bad Request error , "Microsoft.SharePoint.Client.InvalidClientQueryException"

Trying to use Send an HTTP request to SharePoint getting a Bad Request error , "Microsoft.SharePoint.Client.InvalidClientQueryException"

post.jpgerror.jpg

 

 

4 REPLIES 4
Community Support
Community Support

Hi @Yemata ,

 

It seems that you missed one more “_” before “metadata”.

 

I have set up the action likes below, which is working properly.

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yamao-msft Hi Mable ,

 

Thank you for the swift reply as usual 🙂 . I checked the "_" and i have two , below here the whoe body. 

{
"__metadata":{
"type":"SP.Data.DocumentsListItem"
},
"Title2":{
"__metadata":{
"type":"SP.FieldUrlValue"
},
"Description":"TestABC",
"Url":"https://www.google.com"
}
}

 

Thank you.

@v-yamao-msft  Any suggestion ? 

Hi @Yemata ,

 

Please check the following blog for a reference:

https://veenstra.me.uk/2018/10/03/microsoft-flow-update-a-hyperlink-or-picture-field/

 

I am still working on figuring out a solution for your issue.

 

Hope this doc would also be helpful:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (9,528)