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://staging.sharepains.com/wp-content/uploads/2026/04/image-6-1024x142.png)
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.

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.
![image 8 [REDACTED] message when turning on a Power Automate flow](https://staging.sharepains.com/wp-content/uploads/2026/04/image-8.png)
Leave a Reply
You must be logged in to post a comment.