Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 93+Bw2j0tBwyt+vBCTkrqW
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,470 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
    38,856 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,470 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,697 Most Valuable Professional

Leaderboard
Loading started