Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Getting "MovedPermanently" error with status code 301

Like (0) ShareShare
ReportReport
Posted on 17 May 2018 03:50:55 by 11

Hi Team,

I am getting "MovedPermanently" error with status code 301 on calling SharePoint HTTP to get items from the list. I am passing $filter option in the call. The Postman is returning the data, while Flow is throwing error.

Any idea when does flow throws "MovedPermanently" error and how to resolve it?

 

image (1).png

  • nitishbijalwan Profile Picture
    11 on 24 May 2018 at 03:28:50
    Re: Getting "MovedPermanently" error with status code 301

    Thanks Kris for replying. I am using a loop which iterate over a collection of list ids, but this flow is failing only for a paticular list id.

    I have created a new flow with same functionality but now having only that list and its working fine in that case.

    Now I have to maintian 2 flows to perform same actions 😞

  • v-xida-msft Profile Picture
    on 18 May 2018 at 09:30:46
    Re: Getting "MovedPermanently" error with status code 301

    Hi @nitishbijalwan,

     

    Could you please show a bit more about the Uri that you specified within the "Send an HTTP request to SharePoint" action?

     

    The 301 "MovedPermanently" error told that the requested resource has been permanently moved to a new URL provided by the Location response header. More details about the HTTP 301 error, please check the following article:

    https://blogs.msdn.microsoft.com/tijujohn/2012/05/31/different-redirect-http-response-status-codes-and-how-the-browser-should-reacts-301-vs-302-vs-303-vs-307/

     

    I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:
    18.JPG

    The flow works successfully as below:19.JPG

     

     

    Please check if you have provided proper Uri within the Uri field of the "Send an HTTP request to SharePoint" action. In addition, please take a try to clear cache of your browser and re-create your flow to check if the issue is solved.

     

     

     

    Best regards,

    Kris

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#2
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 4 Super User 2025 Season 1

Overall leaderboard