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 / Can't run an Odata fil...
Power Automate
Unanswered

Can't run an Odata filter on URL Column?

(1) ShareShare
ReportReport
Posted on by 65

I'm trying to create a flow that retrieves a file based on the URL column, but keep running into this error: 

 

{
"status": 400,
"message": "The field 'URL' of type 'URL' cannot be used in the query filter expression.
}
 
Any idea why this is or how to get around it? 
 
2019-10-10_12-33-08.png
Categories:
I have the same question (0)
  • dbro Profile Picture
    194 on at

    Hi @jmathur ,

     

    this is a limitation of the api.  So i'm afraid filtering by a hyperlink column is not possible unless you use a caml query. In which case the following should work: 

     

       <Where>
          <Eq>
             <FieldRef Name='URL' />
             <Value Type='URL'>https://yourdomain.sharepoint.com/sites/yoursite</Value>
          </Eq>
       </Where>

     

    If you must find the item in flow via odata, you could try setting the value of your hyperlink column at some point to a text value in a different column (hidden). Then you could do a get item(s) action based on the value of type text.

     

    If this has answered your question, be sure to mark it as answered. 

  • RezaDorrani Profile Picture
    12,145 on at

    @jmathur 

     

    Since odaa does not work on URL column

    first get all files

     

    then run for loop and then use condition to filter it out

     

    Not the most effectoive solution but will work

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @jmathur ,

     

    The URL type is not supported in Filter Query. Please refer to this blog for more details on Filter Query:

    https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/

    Please consider using Condition or Filter array directly to filter items.

     

    Best Regards,

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard