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 / Getting "MovedPermanen...
Power Automate
Unanswered

Getting "MovedPermanently" error with status code 301

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    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

  • nitishbijalwan Profile Picture
    11 on at

    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 😞

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard