cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when using the oneAgentOnAHostClient SDK

thomas_c
Dynatrace Contributor
Dynatrace Contributor

Hi Team,

I try to use the oneAgentOnAHostClient SDK but get the following error from a dashboard ad-hoc function:

 

thomas_c_1-1683751584970.png

Similar symptom as in previous thread 210810. As an admin, I expect to be able to read information from the oneAgentOnAHostClient SDK in code tiles.

Would you know what's the blocker in that case?

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.

Thanks in advance!

1 REPLY 1

stefan_eggersto
Dynatrace Mentor
Dynatrace Mentor

Hi @thomas_c ,

I could reproduce this issue. The code is correct, but there are two aspects that lead to this behavior:

  • 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.
  • Some scopes are not requested by the Dashboards and Notebooks app, which lead to a permission error when using the client-classic-environment-v1 SDK within these apps. I reported this to the team.

To get your code working, you need to wait until a new version of the apps is deployed.

Featured Posts