cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yemata
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
v-yamao-msft
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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (21,072)