Skip to main content

Notifications

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
    Nived_Nambiar 16,859 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
    FLMike Profile Picture
    FLMike 29,371 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
    Nived_Nambiar 16,859 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,411

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,328

Leaderboard
Loading complete