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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 405 status code in Sen...
Power Automate
Unanswered

405 status code in Send an HTTP request to SharePoint

(1) ShareShare
ReportReport
Posted on by 10
Hi,

I have a few flows built that run after an MS Form is submitted.
Up until last week this included a step of 'Send an HTTP request to SharePoint.
 
 
However this code now returns a 400 status code. I then removed the specific response ID to delete all responses, and received the same result.

Altering the code to what appears to be the commonly accepted answer on forums:
*TenantID and UserID are normally included, hidden for privacy

Returns a 405 error.
 
Any assistance with my issue would be greatly appreciated.
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
    I have proposed a similar solution over here:
     

    Can you remove light from your URI and try again?

    I used the below format for my URI in my test which successfully deleted all responses in my test form.

    formapi/api/<tenantid>/users/<userid>/forms('<formid>')/responses
     
     
    Below is the test result
     
     
     

     

  • AbbyRausch Profile Picture
    on at
    Unfortunately, I'm thinking they (Microsoft) may be cracking down on this "HTTP Request to SharePoint" action being used outside SharePoint. I also have several flows that use that action with the Forms API, and they've started failing as of today/yesterday. Most of mine use Get requests, so I just tried pasting one that threw an error in the flow into the browser and it worked just fine.
     
    Then I set up a new Invoke an HTTP Request action (HTTP with Azure AD Connector: thankfully I have access to premium actions!) with the same URI and it worked:
    And after running:



    I hope it's not permanent because it's quite inconvenient, but that's what it's looking like for me at least.
     
    Good luck with your flow!
    Abby
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
    In the request of your last reply I notice you have added an new line/enter after the URI, can you remove that?
     
    Regarding the DELETE request. As far as I am aware Microsoft hasn't placed a limit on this. I just checked and the DELETE request setup in a Send an HTTP request to SharePoint action still works in my environment.
     
    Can you share the code view of your Send an HTTP request to SharePoint action with the DELETE request, this will help troubleshooting.
     
    Btw, below are the results of 5 minutes ago.
     
    The flow run
     
     
    The Code view of my setup
     
     
     
  • Jimmy_Taiwan Profile Picture
    5 on at
    I encountered the same issue on 8/6. My process is used to close the form.
    I resolved the issue by resetting the connection. I hope this help you.
  • Dillon2 Profile Picture
    10 on at
    @AbbyRausch,
     
    This has been my exact experience, when using a GET method, the API call responds with an error, then if I copy/paste that into my url, it will show me the data correctly.

    Appreciate all the responses, but sadly no resolution at this time.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard