Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - AI Builder
Unanswered

GetItems is not vaild and failing to create query

Like (1) ShareShare
ReportReport
Posted on 12 Sep 2024 19:36:00 by 2
Below is the flowchart of the issue that is arising, I am trying to transport excel data to a list on sharepoint under a site. The excel spreadsheet has numerous headings that I am trying to transport including 'Project Name', however it seems to be failing and I am not sure why. I have checked if the sites and list addresses are correct which they are so not sure what the issue presists. 
The output of the code is here: 
 
 
 
Categories:
  • Nived_Nambiar Profile Picture
    17,654 Super User 2025 Season 1 on 13 Sep 2024 at 10:40:58
    GetItems is not vaild and failing to create query
    Hi @FLMike
     
    does it works ? i tried using
     
    [Project Name] eq 'The values' but it throws an error.
     
     
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    42,617 Super User 2025 Season 1 on 13 Sep 2024 at 02:46:43
    GetItems is not vaild and failing to create query
    Hi
     
    You need to put brackets like this
     
    [Project Name] eq 'The values'
     
    Since there is a space. Now in more places you would be using single quotes, but NOT in an Excel Filtering
     
    Please make as the answer if this helps you please
  • Suggested answer
    Nived_Nambiar Profile Picture
    17,654 Super User 2025 Season 1 on 13 Sep 2024 at 02:32:32
    GetItems is not vaild and failing to create query
    Hi,
     
    The reason why it is failing is because of OData query used in Get Items action.
     
     
     
    Here the column name Project Name used is incorrect. in Odata filterquery, we should use internal column name rather than using display column name. To get the internal column name of sharepoint column- refer this 
     
    Mostly it should be ProjectName in your case, so if right- filter query should be written as 
     
    ProjectName eq '939EglintonBlgdc'
     
     

    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     
     
     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - AI Builder

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 10 Super User 2025 Season 1

#2
takolota1 Profile Picture

takolota1 4 Super User 2025 Season 1

#2
Nived_Nambiar Profile Picture

Nived_Nambiar 4 Super User 2025 Season 1

Overall leaderboard
Loading started