Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Issue with Approval Not Initiating

(0) ShareShare
ReportReport
Posted on by

My Approval flow is not initiating when Its Details containts Cruly Braces { } and so on.

Else, this was working all fine but now its not working only when there are "{ }"

 

Error Details:

The request failed. Error code: 'XrmApiRequestFailed'. Error Message: 'Request to XRM API failed with error: 'Invalid character in field 'msdyn_flow_approval_details': '', hexadecimal value 0x01, is an invalid character.'.'.

 

Help me i am in big trouble.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Issue with Approval Not Initiating

    OK, as the approval was not accepting Special Strings on its Details section. I went with a workaround.

    Basically what i did was made a custom Approval email and not use O365 approvals.

    The workaround that i used is discussed in this blog below:

     

    https://www.about365.nl/2020/02/27/power-automate-approvals-markdown-or-html/ 

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue with Approval Not Initiating

    Thank you for your response. I will try to work into it and will post an update here soon.

  • yashkamdar Profile Picture
    1,044 on at
    Re: Issue with Approval Not Initiating

    Hello Team,

     

    I think there is some character coming in your Dynamic content that is not supported by Flow.

     

    Other than cleaning up your data at the source dont think this will work.

     

    Try to see this particular bit in your Dynamic content -  '', hexadecimal value 0x01, is an invalid character.'.'. 

     

    If you find this then just for a test remove this bit from the content and pass the rest of the content and check if the Flow works.

     

    If it works then that part is having a character not supported by Flow, nothing you can do here other than cleaning the data up, but I can guarantee the braces are certainly not the issue.

     

    I hope you get my point.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue with Approval Not Initiating

    Sorry, still the same issue.

     

    The request failed. Error code: 'XrmApiRequestFailed'. Error Message: 'Request to XRM API failed with error: 'Invalid character in field 'msdyn_flow_approval_details': '', hexadecimal value 0x01, is an invalid character.'.'.

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue with Approval Not Initiating

    Sorry, still giving the same issue.

     

    The request failed. Error code: 'XrmApiRequestFailed'. Error Message: 'Request to XRM API failed with error: 'Invalid character in field 'msdyn_flow_approval_details': '', hexadecimal value 0x01, is an invalid character.'.'.

  • yashkamdar Profile Picture
    1,044 on at
    Re: Issue with Approval Not Initiating

    Hello Team,

     

    Got it, here is what you do. 

     

    First create a compose action and populate the compose action with that Swift Message entity and then rather than passing the Swift message directly in the Details pass on the outputs of Compose in the Start an Approval action.

     

    Check if this works.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue with Approval Not Initiating

    Here is my flow that didnt initiate:

    ayushadhikari_0-1600786931473.png

     

    Details on Starting approval process:

    ayushadhikari_1-1600787066001.png

     

    The details on the approval comes from a form submitted earlier.
    This was working great until it received special message (i.e little long with braces)

    I tried shortening the message contents but it seems to be the braces giving the problem.

    This first line had made the issue. For security reasons i cannot provide all of the message contents.

    ayushadhikari_3-1600787289171.png{1:F01HIMANPKAAXXX.SN...ISN.}{2:I202COBADEFFXXXXN}{3:{108:20266BNQR289249}}{4:

     

     

     

  • yashkamdar Profile Picture
    1,044 on at
    Re: Issue with Approval Not Initiating

    Hello Team,

     

    Can you please post a screenshot of how you have configured the Approval Action.

     

    I just tried to follow what you mentioned and this worked just fine for me.

     

    yashkamdar_0-1600786318921.png

     

     

    yashkamdar_1-1600786362920.png

     

     

    I think something else is at fault, for that to know I will need your screenshot.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow