Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Planner Duplication Tracking - Bad Gateway; message: Object reference not set to an instance of an object.

Dear PA Community,


I have been working on a Flow which watches 3 different Planner Plans for:


1. Cards that are created

2. Cards that are closed


It works 99.9% of the time with natural little bugs (like getting the team to input data correctly) OTHER THAN my dreaded BadGateway.


I had assumed that these errors were tied to Apply To Each, so I removed most of them.


However, I now get one for "Create a Task."





The final screenshot has what I think is a clue. 

        "message""Object reference not set to an instance of an object.",
Prior to this last Flow update I made, the BadGateway error was firing on the 'Apply to each' that contained this Create a Task.
So, I removed the Apply to Each. However, I am still getting some errors.


Below is the syntax I used in my Flow during the error.






Please let me know if you have any ideas.




Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,593)