<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error Running Davis® for workflows. in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217816#M82</link>
    <description>&lt;P&gt;I am getting the below error while runnng the&amp;nbsp;&lt;STRONG&gt;Davis® for workflows&lt;/STRONG&gt;&lt;SPAN&gt;. on one of my environments.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have followed word to word the steps on the documentation to Predict Disk Capacity and send message to Slack&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="echwallah_0-1689175881536.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12859iB73DC7B364122F9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="echwallah_0-1689175881536.png" alt="echwallah_0-1689175881536.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Error when triggering dynatrace.davis.workflow.actions:davis-analyze on behalf of user 'd24382c3-a50f-4d81-8fa4-a77033967342 (echwallah@ncgafrica.com)::app-engine:functions:run app-settings:objects:write storage:system:read storage:events:read storage:buckets:read state:app-states:read state:user-app-states:read storage:spans:read storage:bizevents:read state:user-app-states:delete state:user-app-states:write app-settings:objects:read storage:logs:read state:app-states:delete davis:analyzers:execute state:app-states:write davis:analyzers:read storage:metrics:read': 403: {"error":{"code":403,"message":"Forbidden","details":{"errorRef":"a6b6f165-e933-4253-8076-2917c7fcc971"}}}. Most likely due to lack of permissions granted to automations app or user permissions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/platform/davis-ai/automation#permissions" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform/davis-ai/automation#permissions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What could be causing this error and how do I resolve it?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 08:14:36 GMT</pubDate>
    <dc:creator>echwallah</dc:creator>
    <dc:date>2023-07-13T08:14:36Z</dc:date>
    <item>
      <title>Error Running Davis® for workflows.</title>
      <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217816#M82</link>
      <description>&lt;P&gt;I am getting the below error while runnng the&amp;nbsp;&lt;STRONG&gt;Davis® for workflows&lt;/STRONG&gt;&lt;SPAN&gt;. on one of my environments.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have followed word to word the steps on the documentation to Predict Disk Capacity and send message to Slack&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="echwallah_0-1689175881536.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12859iB73DC7B364122F9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="echwallah_0-1689175881536.png" alt="echwallah_0-1689175881536.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Error when triggering dynatrace.davis.workflow.actions:davis-analyze on behalf of user 'd24382c3-a50f-4d81-8fa4-a77033967342 (echwallah@ncgafrica.com)::app-engine:functions:run app-settings:objects:write storage:system:read storage:events:read storage:buckets:read state:app-states:read state:user-app-states:read storage:spans:read storage:bizevents:read state:user-app-states:delete state:user-app-states:write app-settings:objects:read storage:logs:read state:app-states:delete davis:analyzers:execute state:app-states:write davis:analyzers:read storage:metrics:read': 403: {"error":{"code":403,"message":"Forbidden","details":{"errorRef":"a6b6f165-e933-4253-8076-2917c7fcc971"}}}. Most likely due to lack of permissions granted to automations app or user permissions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/platform/davis-ai/automation#permissions" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform/davis-ai/automation#permissions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What could be causing this error and how do I resolve it?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 08:14:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217816#M82</guid>
      <dc:creator>echwallah</dc:creator>
      <dc:date>2023-07-13T08:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running Davis® for workflows.</title>
      <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217865#M83</link>
      <description>&lt;P&gt;Hi Community, any knowledge on what is causing the attached error and related logs?&lt;/P&gt;&lt;P&gt;Additional information is that I am alredy a user with Account Admin and Deployment admin group priviledge. Within these group priviledges is already attached Policies for Automation Admin and App Admin as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="echwallah_0-1689228646375.png" style="width: 461px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12872iB0A8D0F5AF43D4C8/image-dimensions/461x693?v=v2" width="461" height="693" role="button" title="echwallah_0-1689228646375.png" alt="echwallah_0-1689228646375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="echwallah_1-1689228721657.png" style="width: 512px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12873i0751C37895BA4AD3/image-dimensions/512x183?v=v2" width="512" height="183" role="button" title="echwallah_1-1689228721657.png" alt="echwallah_1-1689228721657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 06:12:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217865#M83</guid>
      <dc:creator>echwallah</dc:creator>
      <dc:date>2023-07-13T06:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running Davis® for workflows.</title>
      <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217874#M84</link>
      <description>&lt;P&gt;Hi Community, I have an update on this after selecting all the Primary and Secondary permissions under Authorization Settings.&lt;/P&gt;&lt;P&gt;I am getting the below error on the Slack send_message action&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="echwallah_0-1689232142852.png" style="width: 506px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12879i9AF96837995C8DEB/image-dimensions/506x770?v=v2" width="506" height="770" role="button" title="echwallah_0-1689232142852.png" alt="echwallah_0-1689232142852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error evaluating custom condition: Undefined variables in '{{ result('check_prediction').violation }}': violation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 07:09:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217874#M84</guid>
      <dc:creator>echwallah</dc:creator>
      <dc:date>2023-07-13T07:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running Davis® for workflows.</title>
      <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217948#M85</link>
      <description>&lt;P&gt;I have also realized the Dynatrace Davis for Workflows Example use case does not mention to enable&amp;nbsp;&lt;SPAN&gt;app-engine:apps:run&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;- Grants permission to list and run apps and gives basic access to the Launcher. It only mentions&amp;nbsp;app-engine:functions:run&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I believe this permission is required to run the Davis for Workflows Analyzer App and also Slack for Workflows. I tried to disable this and the Workflow as per the documentation fails.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/platform/davis-ai/automation#evaluate" target="_blank"&gt;https://www.dynatrace.com/support/help/platform/davis-ai/automation#evaluate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:48:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/217948#M85</guid>
      <dc:creator>echwallah</dc:creator>
      <dc:date>2023-07-13T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running Davis® for workflows.</title>
      <link>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/218148#M86</link>
      <description>&lt;P&gt;Hi Community, Thanks to DT Support Engineers, in the jscode for the predict_capacity&amp;nbsp;&lt;SPAN&gt;line number 35 being the fix in the source code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changing that line to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;return {"violation": []} fixed this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think the documentation also needs to be changed accordingly for that use case&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jul 2023 20:30:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Error-Running-Davis-for-workflows/m-p/218148#M86</guid>
      <dc:creator>echwallah</dc:creator>
      <dc:date>2023-07-14T20:30:47Z</dc:date>
    </item>
  </channel>
</rss>

