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

(1) ShareShare
ReportReport
Posted on 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
    Nived_Nambiar 17,292 Super User 2025 Season 1 on at
    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
    Michael E. Gernaey 34,397 Super User 2025 Season 1 on at
    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
    Nived_Nambiar 17,292 Super User 2025 Season 1 on at
    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,398 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,274 Most Valuable Professional

Leaderboard