web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Failing on "Get T...
Power Automate
Suggested Answer

Flow Failing on "Get Task Instance Duplicate" — BadRequest Error

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have a scheduled flow called “Generate Recurring Task Instances”. The flow is failing consistently, and the failure seems to originate from a SharePoint "Get items" query inside my loop.

 

Failing Action

 

Get_Task_Instance_Duplicate

Error Type: BadRequest

 

Filter Query Used

 
TaskLookupIdId eq 1 and TaskDate eq '2026-03-28'
 

Action Inputs

 

  • Site: https://numerix.sharepoint.com/sites/GlobalTeam

  • List Name: 79b6bc09-9eaf-48d7-9c84-a2e02a42d039


  •  
 

What Happens

 

  • This step fails with BadRequest.

  • As a result, all dependent actions fail, and the entire flow run stops.

  • Earlier steps (Get items, Compose, Select, etc.) succeed.


  •  
 

Looking for Help

 

Can someone help identify why this SharePoint Get Items query is failing?

Is the filter query syntax incorrect, or could the column types (lookup/date) be causing the issue?

 

Thanks in advance!

I have the same question (0)
  • chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
    Hi
     
    I think this could be happening because the OData filter doesn’t match the actual SharePoint column schema.
     

    Also, TaskLookupIdId looks suspicious. What is the internal name of your lookup column?

    If the internal name is TaskLookup, then the filter would usually be:
    TaskLookupId eq 1

     

    Is TaskDate a Date Only column or a Date and Time column?

  • Suggested answer
    MS.Ragavendar Profile Picture
    7,431 Super User 2026 Season 1 on at
     
    Power Automate (Filter)
    Go to the list → List settings → click the lookup column → check the URL in the browser. You’ll see something like:...Field=TaskLookupId, that is the internal name.
     
    • If internal name is TaskLookup → filter using TaskLookupId eq 1
    • If internal name is already TaskLookupId → filter using TaskLookupIdId eq 1 
    • If internal name is something else (like Task) → filter using TaskId eq 1
    for the time use ISO datetime - 
    • formatDateTime(utcNow(),'yyyy-MM-ddT00:00:00Z')
     
    Now combine both and revert it worked or not.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard