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

Error when using the deploymentClient SDK

Dynatrace Participant
Dynatrace Participant

Hi Team,

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


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

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

I'd like to consume that SDK in order to display the latest OneAgent version available in the tenant and quickly inform if some deployed OneAgents will become unsupported soon.

Thanks in advance!




Dynatrace Advisor
Dynatrace Advisor

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