[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.


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

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.