Appdynamics / config-assessment-tool

This project aims to provide a single source of truth for performing AppDynamics Health Checks.
Other
19 stars 18 forks source link

Report generation for extracting server metrics report workbook fails due to TypeError #109

Closed alexafshar closed 1 year ago

alexafshar commented 1 year ago

When running against a controller, the Extracting Server metrics step fails with the following stack trace:

2023-01-23 17:17:39,941 [INFO] [xxxxx.xxxxx.xxxxx.xxxxxx] - Extracting Servers 2023-01-23 17:17:40,127 [ERROR] Traceback (most recent call last): File "/backend/core/Engine.py", line 197, in run await self.process() File "/backend/core/Engine.py", line 331, in process await jobStep.extract(self.controllerData) File "/backend/extractionSteps/general/ControllerLevelDetails.py", line 38, in extract hostInfo["servers"] = (await controller.getServers()).data File "/backend/api/appd/AppDService.py", line 755, in getServers machineIds = [serverKey["machineId"] for serverKey in serverKeys.data["machineKeys"]] TypeError: list indices must be integers or slices, not str