web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Operation is not valid...
Power Automate
Unanswered

Operation is not valid due to the current state of the object in Send HTTP Request flow action

(0) ShareShare
ReportReport
Posted on by 27

Hi. I have a simple process for sharing access with an external email address from my SharePoint Document Library, but it keeps failing.

 

The flow is very simple and straightforward: Trigger -> Variables -> Get folder metadata using path -> Send HTTP Request (INSIDE of APPLY to EACH).

 

The exact error is:

"Operation is not valid due to the current state of the object. clientRequestId: 944293de-97f7-46f9-a793-0d726d4cc022 serviceRequestId: 6e28f1a0-70b8-2000-b9fa-51876bd32a2e"

 

Could you please help me? I have not encountered this issue on other sites since I tried it on other sites. The specific site where access should be granted is where I am experiencing the error 😞 I am one of the owners of the specific site I am mentioning.

 

Thank you very much.

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @LDJ_1125 

     

    could you share the flow screenshot and also give info about API which you are using here ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • LDJ_1125 Profile Picture
    27 on at

    Hi! Here is the flow screenshot screenshot and also the information about API

    1. Flow backbone

    LDJ_1125_0-1701052607207.png

     

     

     

    2. Details of the Send HTTP SharePoint action

     

    LDJ_1125_0-1713235451910.png


    EDITED: to hide some personal details

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @LDJ_1125 

     

    could you tell what dynamic content are used in send http request action ?

    Nived_Nambiar_0-1700977103073.png

     

    Also have you tested this http request by hardcoding values ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • LDJ_1125 Profile Picture
    27 on at

    The dynamic content used is as follows:

    1. ItemId - for the ID of the folder that needs to be accessed by the external email address.

    2. Current item - External Email Addresses Array that need to be granted access.

    LDJ_1125_0-1700977558380.png

     

    Yes, if you mean hardcoding values without using any dynamic content. However, I am still experiencing the same error ---> Operation is not valid due to the current state of the object

    PS. EDITED MY REPLY

  • LDJ_1125 Profile Picture
    27 on at

    Hi @Nived_Nambiar , Is there any way you could find out the answer to this issue? Thank you

  • nuggetier Profile Picture
    4 on at

    Did you solve this ?

     

  • LDJ_1125 Profile Picture
    27 on at

    Yes. Upon checking the permission of the site, the site was not allowed to share access to external parties, see below

    LDJ_1125_0-1713161647312.png

    To resolve this issue, the sharing settings should be configured as shown in the example provided (See below). Sharing settings with "People in XXXXXX and "People you choose" should be available

    LDJ_1125_2-1713161818616.png

     

  • LDJ_1125 Profile Picture
    27 on at

    Yes. Upon checking the permission of the site, the site was not allowed to share access to external parties, see below

    LDJ_1125_0-1713161647312.png

    To resolve this issue, the sharing settings should be configured as shown in the example provided (See screenshot #3). Sharing settings with "People in XXXXXX and "People you choose" should be available

    LDJ_1125_1-1713161707728.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard