# Microsoft Teams: Error evaluating input when executing the action

**URL:** <https://community.dynatrace.com/t/microsoft-teams-error-evaluating-input-when-executing-the-action/44560>\
**Category:** Troubleshooting\
**Tags:** microsoft-teams, workflows, automation\
**Created:** [March 19, 2024, 4:20pm UTC](https://community.dynatrace.com/t/microsoft-teams-error-evaluating-input-when-executing-the-action/44560 "2024-03-19T16:20:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MonikaBalogh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/monikabalogh/32/10833_2.png) [@MonikaBalogh](https://community.dynatrace.com/u/MonikaBalogh)\
**Post date:** [March 19, 2024, 4:20pm UTC](https://community.dynatrace.com/t/microsoft-teams-error-evaluating-input-when-executing-the-action/44560/1 "2024-03-19T16:20:00Z")

</div>

Wrongly configured Jinja expressions can result in an error when the action executes. This is easily identifiable by the phrase **Error evaluating input: …** &nbsp;in the **Detail** &nbsp;tab, **State info** &nbsp;value, of the action that is in error state.  
A common problem is the use of an undefined variable. In this case, the string would be something like:

````markup
```text
Error evaluating input: Undefined variables in '...
...
...
...': event.unknown_variable
```

````

where the `…` represents the whole body being evaluated, and `event.unknown_variable` (for example) is the variable being used but not defined.
