Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

GetItems is not vaild and failing to create query

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 15,869 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
    FLMike Profile Picture
    FLMike 23,258 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 15,869 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!

     
     
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,719

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard