Dynatrace / dynatrace-configuration-as-code

This tool automates deployment of Dynatrace Configuration to one or multiple Dynatrace environments.
https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco
Apache License 2.0
162 stars 94 forks source link

monaco account : Error: failed to fetch supportedPermissions #1520

Closed reinhard-brandstaedter closed 2 months ago

reinhard-brandstaedter commented 2 months ago

Describe the bug Try to deploy account settings with the monaco account command gives a error message:

Error: failed to fetch supportedPermissions: unable to fetch supported permission ids: failed to parse PermissionsDto field

Maybe missing permissions for the OAuth Client, but these aren't documented?

How to reproduce Steps to reproduce the behavior:

Expected behavior Correct deployment of the account assets

Log output

2024-07-04T15:49:11+02:00       info    Monaco version 2.14.2
2024-07-04T15:49:11+02:00       info    Loading manifest "manifest.yaml". Restrictions: groups=[], environments=[]
2024-07-04T15:49:12+02:00       error   Error: failed to fetch supportedPermissions: unable to fetch supported permission ids: failed to parse PermissionsDto field

Environment (please complete the following information):

warber commented 2 months ago

Hi @reinhard-brandstaedter,

Please upgrade to v2.14.3 which contain a fix for this bug.

reinhard-brandstaedter commented 2 months ago

@warber oh i missed that upgrade, fixed it!