Tuesday, March 13, 2018

MS Flow doesn't allow adding @ sign in the body of HTTP Action

Introduction

I was trying to call a rest api call through HTTP action in Microsoft Flow. I had to use "@odata.id" as a parameter.

Problem Background

After adding "@odata.id" I tried to save the Flow, when I tried to save I got the below error message.
“The template validation failed: 'The template action 'HTTP_-_Add_User' at line '1' and column '5342' is not valid: "Unable to parse template language expression 'odata.id': expected token 'LeftParenthesis' and actual 'Dot'.".'.”



Solution

You will have to add two @ signs as give below.
"@@odata.id"

No comments:

Post a Comment