Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Unanswered

Error in the filter function "The URI string is too long"

(1) ShareShare
ReportReport
Posted on by 124

Hi
I have a Meeting table which is related to Meeting Attendee table (1:N). I want to filter the Meeting table where some user is in the attendee list, for that I filter the Meeting Attendee table and get the parent meeting id and save it in a collection.

ClearCollect(colMeetingID,AddColumns(ShowColumns(Filter('Meeting Attendee',Attendee.'Primary Email' = User().Email),Meeting),'Meeting ID',Meeting.ID))

 

Using the above the above collection then I filter the meeting table as shown below:

Filter(Meetings,ID in colMeetingID)

 

In the above function I am getting this error when there are more than 500 meetings where I am the attendee.

Usman2_0-1721047708934.png

 

  • Shashank Bhide Profile Picture
    Shashank Bhide 932 on at
    Re: Error in the filter function "The URI string is too long"

    This is the limit of an HTTP GET request, the question here is that what is so big in your filter clause that is generating such a big GET string. 

  • Usman2 Profile Picture
    Usman2 124 on at
    Re: Error in the filter function "The URI string is too long"

    Hi @ivan_apps 

    For some users even after applying the filter there are more than 1000 records id in the URI string. Is this a known issue and what is the limit for the URI string?

  • ivan_apps Profile Picture
    ivan_apps 2,187 on at
    Re: Error in the filter function "The URI string is too long"

    agree with this - run the App Monitor and do the retrieval where the error occurs. The monitor should have the network request and the underlying query that exceeded the Uri limit.

     

    If PowerApps is putting all 500 meetings in the URI string something would seem off but perhaps try to not display meetings in the past by default? will help the query limit the data rows returned.

  • Shashank Bhide Profile Picture
    Shashank Bhide 932 on at
    Re: Error in the filter function "The URI string is too long"

    click "Monitor" which should open another window and see what is the underlying issue.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics