[REDACTED] message when turning on a Power Automate flow

We all like useful error messages. How about the [REDACTED] Message when you turn on a flow? In this post you will find the steps to fix this issue.

[REDACTED] Error message when turning on a flow
[REDACTED] Error message when turning on a flow

The [REDACTED] Error …

Today I came across this error twice. In both cases I got the [REDACTED] message when I tried to turn a flow on from the flow’s detail screen

There are however other places to turn on a flow and they give a better error message. This is however where I got different messages for each of my clients:

Turn on failed. Flow client error returned with status code “BadRequest” and details “XrmEnvironmentVariableAttributeNotFound”.

In the other situation I got this

Turn on failed. Flow client error returned with status code “BadRequest” and details “InvalidOpenApiFlow”.

So it looks like there are two problem here that both give the [REDACTED] error in the flow details.

… and how to fix it

The problem in both cases was the same. When I reproduced the issue in my own test environment, I managed to reproduce the issue quite quickly. Hopefully this will help someone else too.

Screenshot of a user interface for editing a data source in SharePoint, including fields for data type, connector, connection, parameter type, site, and current list value.
[REDACTED] message when turning on a Power Automate flow 1

Somehow the list value had been cleared and my flow that triggered on a document library would fail to resolve a list or library because of this. Once the variable was set again the flow turned on successfully.

Avatar of Pieter Veenstra

Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like. I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide. For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions. You can contact me using contact@sharepains.com

Related Posts

4 thoughts on “[REDACTED] message when turning on a Power Automate flow

  1. I had this message yesterday but it was in an agent flow. I had made a mistake in the syntax of a filter array step, and the flow saved without any issues, but then gave me the Redacted error on publish.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading