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.
![image 6 [REDACTED] Error message when turning on a flow](https://i0.wp.com/sharepains.com/wp-content/uploads/2026/04/image-6.png?resize=640%2C89&ssl=1)
The [REDACTED] Error …
Table of Contents
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.

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.

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.
I have the feeling that it is related to some recent updates
Where did you find other places to turn on a flow and they give a better error message?
There are two places to turn on a flow. 1. The flow details screen and 2. The flow context menu within the solution or my flows section.