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

Getting Error in the Send HTTP Request to SharePoint

I want to build the Flow in which i want to trigger my flow when the file in the SharePoint is modified then i want to get the content which is modified. 

like:

I have build but i am getting an error

Rushi_Chandak_0-1652268546805.png

 

ERROR--

Rushi_Chandak_1-1652268586233.png

i Guss my URL is Wrong..

Any idea??

9 REPLIES 9
Expiscornovus
Super User
Super User

Hi @Rushi_Chandak,

 

Normally the URI field of a Send an HTTP request can contain a lot of different things. I see you totally blurred the URI value.

 

Can you share a bit more details about that URI value and which REST API method you are trying to use in that field? 😀

 

 

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hello @Expiscornovus

Rushi_Chandak_0-1652355175216.png

Actually my purpose is , If Any modification done in SharePoint folder then i want to see the modification over the mail 

Rushi_Chandak
Helper I
Helper I

URI is:

Rushi_Chandak_1-1652355344575.png

 

Expiscornovus
Super User
Super User

Hi @Rushi_Chandak,

 

The URI expects a versionid (512). You are using the since version number (the label), which is 1.0.

 

Try to use this expression:

outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/SinceVersionId']

 

1. Example where you can see the difference between the id and the label

 

sinceversionnumber.png

 

2. Example how you can use the SinceVersionId field value.

 

sinceversionid.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Rushi_Chandak
Helper I
Helper I

Hi @Expiscornovus  Now its Giving Me Error- 

Rushi_Chandak_0-1652356896275.pngRushi_Chandak_1-1652356962314.png

 

Rushi_Chandak_2-1652356992753.png

 

Rushi_Chandak
Helper I
Helper I

Also, I Have Enabled The Versioning in the SharePoint 

Expiscornovus
Super User
Super User

Hi @Rushi_Chandak,

 

That does not look like the correct format for the VersionId. I would have expected at least a number higher than 512. I see you are using 5.

 

The since version label 1.0 is represented by the VersionId 512

2.0 is 1024

3.0 is 1536

4.0 is 2048

5.0 is 2560

etc.

 

If you want make this dynamically just use the SinceVersionId field of your previous action, the Get Changes for an item or file (properties only).

 

Can you try and use the expression below:

outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/SinceVersionId']

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


muhammad_farruk
Regular Visitor

Do any body know how to delete MS Forms responses automatically using power automate.?

Do any body know how to delete MS Forms responses automatically using power automate.? If yes please share details of it 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,971)