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 Apps / The requested operatio...
Power Apps
Unanswered

The requested operation is invalid. Server Response: XXXX failed: The query is not valid

(0) ShareShare
ReportReport
Posted on by 11

Hello, I have an app linked with several sharepoint lists and when I open the app it gives the warning:

The requested operation is invalid. Server Response: XXXX failed: The query is not valid. clientRequestId: 6f4b440a-3387-4634-a080-2a9654fbb254 serviceRequestId: 6f4b440a-3387-4634-a080-2a9654fbb254

 

It happens as soons as I open the app but right away everything works fine. It is not giving me any trouble but I would like to get rid of this warning. 

 

I use this on App Start "Set(varUserName,Office365Users.MyProfile().DisplayName)" and with varUserName I set the property DisplayMode of some buttons I have in the app open screen by LookUp a true/false value from the XXXX sharepoint list with varUserName. Maybe it is correlated? Let me know your toughts

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @bruno_madaleno 

     

    Did you check if you are getting the same error in the design mode of the app? If so, it will highlight the formula which is causing the error. 

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • bruno_madaleno Profile Picture
    11 on at

    When in design mode the error does not appear

  • v-bofeng-msft Profile Picture
    on at

    Hi @bruno_madaleno :

    I suggest you re-publish this app and try it again?

    If the problem still exists, I suggest you create a support ticket for professional assistance following the below procedure. 

    Get Help + Support - Power Platform | Microsoft Docs 

    Best Regards, 

    Bof

  • Verified answer
    bruno_madaleno Profile Picture
    11 on at

    So I figured out what was the issues.

     

    On App property OnStart I initiated the variable Set(varUserName,Office365Users.MyProfile().DisplayName)

    But, since that variable was being used in the property DisplayMode of a button in the same screen, once I started the app the property display mode could not be initiated by the app because the first was still being calculated, that was why I only had the warnings on the start of the application, because after the OnStart property was completed and the variable varUserName was created the problem no longer persisted.

     

    To solve it, I set a timer also starting on OnStart property of the app and the on timer end I set the change of the display mode property of the button I had with the resulted variable varUserName.

     

    Problem solved!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard