Showing results for 
Search instead for 
Did you mean: 
jmathur Helper I
Helper I

Can't run an Odata filter on URL Column?

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? 
dbro Kudo Kingpin
Kudo Kingpin

Re: Can't run an Odata filter on URL Column?

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: 


         <FieldRef Name='URL' />
         <Value Type='URL'></Value>


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. 

Dual Super User
Dual Super User

Re: Can't run an Odata filter on URL Column?



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.



Community Support
Community Support

Re: Can't run an Odata filter on URL Column?


Hi @jmathur ,


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

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


Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,080)