<?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: Error when using the oneAgentOnAHostClient SDK in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-when-using-the-oneAgentOnAHostClient-SDK/m-p/211846#M329</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/7815"&gt;@thomas_c&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I could reproduce this issue. The code is correct, but there are two aspects that lead to this behavior:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the current version, the error of ad-hoc functions is not shown. This is already known and will be fixed in a next release.&lt;/LI&gt;
&lt;LI&gt;Some scopes are not requested by the Dashboards and Notebooks app, which lead to a permission error when using the &lt;CODE&gt;client-classic-environment-v1&lt;/CODE&gt; SDK within these apps. I reported this to the team.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To get your code working, you need to wait until a new version of the apps is deployed.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 06:38:49 GMT</pubDate>
    <dc:creator>stefan_eggersto</dc:creator>
    <dc:date>2023-05-11T06:38:49Z</dc:date>
    <item>
      <title>Error when using the oneAgentOnAHostClient SDK</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-when-using-the-oneAgentOnAHostClient-SDK/m-p/211838#M327</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I try to use the &lt;SPAN&gt;oneAgentOnAHostClient&amp;nbsp;&lt;/SPAN&gt;SDK but get the following error from a dashboard ad-hoc function:&lt;/P&gt;
&lt;DIV id="tinyMceEditorthomas_c_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomas_c_1-1683751584970.png" style="width: 619px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11588i5351737792975955/image-dimensions/619x192?v=v2" width="619" height="192" role="button" title="thomas_c_1-1683751584970.png" alt="thomas_c_1-1683751584970.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Similar symptom as in &lt;A href="https://community.dynatrace.com/t5/Developers-Q-A-Forum/Error-when-using-the-accessTokensApiTokensClient-SDK/td-p/210810" target="_self"&gt;previous thread&amp;nbsp;210810&lt;/A&gt;. As an admin, I expect to be able to read information from the oneAgentOnAHostClient SDK in code tiles.&lt;/P&gt;
&lt;P&gt;Would you know what's the blocker in that case?&lt;/P&gt;
&lt;P&gt;Read access to this SDK would permit to inform of deployed OneAgent versions in the monitored environment and ease the preparation of OneAgent upgrade campaigns.&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 20:50:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-when-using-the-oneAgentOnAHostClient-SDK/m-p/211838#M327</guid>
      <dc:creator>thomas_c</dc:creator>
      <dc:date>2023-05-10T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using the oneAgentOnAHostClient SDK</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-when-using-the-oneAgentOnAHostClient-SDK/m-p/211846#M329</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/7815"&gt;@thomas_c&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I could reproduce this issue. The code is correct, but there are two aspects that lead to this behavior:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the current version, the error of ad-hoc functions is not shown. This is already known and will be fixed in a next release.&lt;/LI&gt;
&lt;LI&gt;Some scopes are not requested by the Dashboards and Notebooks app, which lead to a permission error when using the &lt;CODE&gt;client-classic-environment-v1&lt;/CODE&gt; SDK within these apps. I reported this to the team.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To get your code working, you need to wait until a new version of the apps is deployed.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:38:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-when-using-the-oneAgentOnAHostClient-SDK/m-p/211846#M329</guid>
      <dc:creator>stefan_eggersto</dc:creator>
      <dc:date>2023-05-11T06:38:49Z</dc:date>
    </item>
  </channel>
</rss>

