# Error triggering workflow

**URL:** <https://community.dynatrace.com/t/error-triggering-workflow/38894>\
**Category:** Developer Q&A Forum\
**Tags:** workflows\
**Created:** [March 20, 2023, 3:38am UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894 "2023-03-20T03:38:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuesong\_teh](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@yuesong\_teh](https://community.dynatrace.com/u/yuesong_teh)\
**Post date:** [March 20, 2023, 3:38am UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/1 "2023-03-20T03:38:09Z")

</div>

Hi,

My end encountered error below when trying to trigger workflow:

 ![yuesong_teh_1-1679282928526.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/df1ebb55c1a9bd22b76d95a5f7618421b593eb0c.png)

_ **Error: Forbidden** _  
_ **Error Description: IAM policy condition does not match** _

Upon checking on the authorization setting, seems like my role doesn’t have sufficient permission to modify it:

 ![yuesong_teh_2-1679283093484.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/24b65b9d9d367a623ff8e0e464e1b3cc4efdf115.png)

Attached the policy assigned to my account, perhaps there is any rule related to workflow missing out that I am not aware off?

Thanks in advance for the reply.  
Regards,  
Teh  
[App Engine Admin Policy Rule.txt](https://community.dynatrace.com/uploads/short-url/5syVe4qDSWhShPNCFfg2nKTVITP.txt) (2.25 KB)

---

<div class="post-metadata">

**Author:** ![s\_eilmsteiner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/s_eilmsteiner/32/32799_2.png) [@s\_eilmsteiner](https://community.dynatrace.com/u/s_eilmsteiner)\
**Post date:** [March 20, 2023, 8:05am UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/2 "2023-03-20T08:05:28Z")

</div>

I think you miss:

‘automation:workflows:run’  
&nbsp;‘automation:workflows:write’

---

<div class="post-metadata">

**Author:** ![michal\_zawislak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michal_zawislak/32/13613_2.png) [@michal\_zawislak](https://community.dynatrace.com/u/michal_zawislak)\
**Post date:** [March 20, 2023, 8:44am UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/3 "2023-03-20T08:44:57Z")

</div>

Could you please open developer tools in your browser and go to the “Authorization Settings” view and show the response to the

```auto
platform/iam/repo/environment/<tenant>/bindings/...

```

For me, it looks like you’re missing “iam:bindings:\*” permissions.

---

<div class="post-metadata">

**Author:** ![yuesong\_teh](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@yuesong\_teh](https://community.dynatrace.com/u/yuesong_teh)\
**Post date:** [March 20, 2023, 1:08pm UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/4 "2023-03-20T13:08:09Z")

</div>

Hi&nbsp;s\_eilmsteiner,

Thanks for your response.  
Had added both rule under policy but no luck.

Regards,  
Teh

---

<div class="post-metadata">

**Author:** ![yuesong\_teh](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@yuesong\_teh](https://community.dynatrace.com/u/yuesong_teh)\
**Post date:** [March 20, 2023, 1:12pm UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/5 "2023-03-20T13:12:59Z")

</div>

Hi Michal,

Thanks for your response.  
Not sure if I get you correctly, but I didn’t see any here:

 ![yuesong_teh_0-1679317838644.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/183ff944ee0b5b65e396148a40e1f78d07bcc5d0.jpeg)

Didn’t see authorization setting available.

And yeap, still having this error message:

 ![yuesong_teh_1-1679317910883.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/c/7ca398918b4d920c26c96ae82784a8efeddc2cb5.png)

I believe it is something to with the policy rule.  
Wondering if there is any documentation that I can refer to sort out the missing rules?

Thanks.  
Regards,  
Teh

---

<div class="post-metadata">

**Author:** ![michal\_zawislak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michal_zawislak/32/13613_2.png) [@michal\_zawislak](https://community.dynatrace.com/u/michal_zawislak)\
**Post date:** [March 23, 2023, 7:24am UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/6 "2023-03-23T07:24:13Z")

</div>

Hi Teh,  
We have found a missing piece on our side (an internal policy binding was not there). Now, you should be able to run workflows without any problems. Could you please confirm that?

Please also make sure that you consent to at least “Primary Permissions” in the “Authorization Settings” (top right) in the Workflow app.

 ![michal_zawislak_0-1679556247392.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/9e5c770642364df1bfc4aa9f2343ce1ab06da674.png)

---

<div class="post-metadata">

**Author:** ![yuesong\_teh](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@yuesong\_teh](https://community.dynatrace.com/u/yuesong_teh)\
**Post date:** [March 23, 2023, 4:04pm UTC](https://community.dynatrace.com/t/error-triggering-workflow/38894/7 "2023-03-23T16:04:13Z")

</div>

Hi Michal,

Good news, it is working now!!!  
Big thanks.

Regards,  
Teh
