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 Apps / Fetching items failed ...
Power Apps
Unanswered

Fetching items failed error inside a ForAll

(0) ShareShare
ReportReport
Posted on by 15
Hi everyone!

This is my code but it's not working, can you please tell me why?

 

 

ClearCollect(
 tmpUserInterest,
 Blank()
);
ForAll(
 db_Users,
 If(!IsBlank(Tag_select.Selected.Interest in Split(LookUp(db_Users,Email=ThisRecord.Email).Interessi,",")),
 Collect(
 tmpUserInterest,
 {User: ThisRecord.Email}
 )
 )
);

 

 

The error returned is:

The requested operation is invalid. Server Response: db_Users failed: Fetching items failed. Possible invalid string in filter query. clientRequestld: c4bReb0-0102-45da-9929-72967ea0fe39 serviceRequestld: c4bf7eb0-0102-45da-9929-72967ea0fe39

 

 

 

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @andrea_ginocchi , The Output of below code is Boolean 

    Tag_select.Selected.Interest in Split(LookUp(db_Users,Email=ThisRecord.Email).Interessi,",")

     So, can you try this:

    ClearCollect(
     tmpUserInterest,
     Blank()
    );
    ForAll(
     db_Users,
     If(Tag_select.Selected.Interest in Split(LookUp(db_Users,Email=ThisRecord.Email).Interessi,",") = true,
     Collect(
     tmpUserInterest,
     {User: ThisRecord.Email}
     )
     )
    );

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • andrea_ginocchi Profile Picture
    15 on at

    Hi @ANB ,

    thanks for replying.

    Actually, an issue with LookUp insiede Split function still remains.

     

    We fixed it with the following code:

    ClearCollect(
     tmpUserInterest,
     Blank()
    );
    ForAll(
     db_Users,
     If(Tag_select.Selected.Interest in Split(ThisRecord.Interests, ","),
     Collect(
     tmpUserInterest,
     {User: ThisRecord.Email}
     )
     )
    );

    With "thisrecord.Interests" I am selecting a specific column of my DB, so it is not necessary to use LookUp function.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard