[REDACTED] message when turning on a Power Automate flow

[REDACTED] message when turning on a Power Automate flow

[REDACTED] message when turning on a Power Automate flow

By:

Date:

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.

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.

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. SharePains is not just any blog run by a Microsoft MVP. Have you ever used Try-Catch in Power Automate? The original post about Try-Catch in Power Automate can still be found on this site, https://staging.sharepains.com/2018/02/07/try-catch-finally-in-power-automate-flow/ Or have you ever used the Pieter’s method to avoid variables and speed up your flows? https://staging.sharepains.com/2020/03/11/pieters-method-for-advanced-in-flows/ You can contact me using contact@staging.sharepains.com

4 responses to “[REDACTED] message when turning on a Power Automate flow”

  1. flowcantrip Avatar

    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.

    1. Pieter Veenstra Avatar

      I have the feeling that it is related to some recent updates

  2. dlutchy365 Avatar

    Where did you find other places to turn on a flow and they give a better error message?

    1. Pieter Veenstra Avatar

      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.

Leave a Reply

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