<?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 Re: Looping through an API query result in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223372#M3251</link>
    <description>&lt;P&gt;I verified everything was setup correctly, and contacted support. They had the same issue with the 'listExtensions' call that I did so they are escalating to the product team.&lt;/P&gt;&lt;P&gt;I was able to do what I wanted using the Problems API, so I have working code now, just not with the API I want.&lt;/P&gt;&lt;P&gt;I will report back here when there is a solution.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 13:48:37 GMT</pubDate>
    <dc:creator>TomLichti</dc:creator>
    <dc:date>2023-09-19T13:48:37Z</dc:date>
    <item>
      <title>Looping through an API query result</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223256#M3247</link>
      <description>&lt;P&gt;I have a specific use case, but I think the answer can be more generic. I would like to get a list of extensions and return them in a table, the problem is I get an 'Extension crashed' error when just trying to query the api:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

export default async function() {

  const data = await extensions_2_0Client.listExtensions();
  return "test";
}&lt;/LI-CODE&gt;&lt;P&gt;This is the example code from the documentation:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/reference/sdks/client-classic-environment-v2/#extensionlist" target="_blank"&gt;Classic Environment V2 | Dynatrace Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can't even move forward from here, I was expecting that I would get a list of extensions that I can loop through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 17:07:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223256#M3247</guid>
      <dc:creator>TomLichti</dc:creator>
      <dc:date>2023-09-18T17:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through an API query result</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223265#M3248</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you said that you are getting an "extension crashed" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you make sure that you had the correct permissions from the following list?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required scope:&lt;/STRONG&gt; environment-api:extensions:read &lt;STRONG&gt;Required permission:&lt;/STRONG&gt; environment:roles:manage-settings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 18:11:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223265#M3248</guid>
      <dc:creator>danielD</dc:creator>
      <dc:date>2023-09-18T18:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through an API query result</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223275#M3249</link>
      <description>&lt;P&gt;That is definitely the initial problem as I was able to capture the error, but I have added them to one of my group policies and it is still happening, so presumably I have not done that correctly.&lt;/P&gt;&lt;P&gt;I have double checked my effective permissions and I have both of the required scope and permissions, so now I'm stuck.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 19:21:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223275#M3249</guid>
      <dc:creator>TomLichti</dc:creator>
      <dc:date>2023-09-18T19:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through an API query result</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223372#M3251</link>
      <description>&lt;P&gt;I verified everything was setup correctly, and contacted support. They had the same issue with the 'listExtensions' call that I did so they are escalating to the product team.&lt;/P&gt;&lt;P&gt;I was able to do what I wanted using the Problems API, so I have working code now, just not with the API I want.&lt;/P&gt;&lt;P&gt;I will report back here when there is a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 13:48:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/223372#M3251</guid>
      <dc:creator>TomLichti</dc:creator>
      <dc:date>2023-09-19T13:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through an API query result</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/225381#M3328</link>
      <description>&lt;P&gt;There was a new release of the Dashboard app (did you even know that the Dashboard app had a version? Me either) that has fixed the problem. You need v1.9.1 of the dashboard app for it to work&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:44:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Looping-through-an-API-query-result/m-p/225381#M3328</guid>
      <dc:creator>TomLichti</dc:creator>
      <dc:date>2023-10-13T18:44:16Z</dc:date>
    </item>
  </channel>
</rss>

