Hi All,
I wanted to export list of problems within a period of time to an excel sheet.
What i did is the following:
- Generate new Token with problem Read
- In Dynatrace Environment API : I went to Problems => Get, then i clicked on the lock key to authenticate using the new tokens generated
- I clicked on “Try it out”
- I filled the details as below
1- fields => Problem,impacted,Affected,Root Cause,Start Date,Duration,Alerting profiles
2- nextPageKey=> Null
3- pageSize=> 50
4- from=> 2026-07-01
5- to=> 2026-07-31
6- problemSelector=> status(“any”)
7-entitySelector=> type(“any”)
8-sort=> null
Then i clicked on Execute, but it did not work
I got the below responses:
Snippets=> curl -X ‘GET’ \ '****\ -H ‘accept: application/json; charset=utf-8’ \ -H ‘Authorization: Api-Token *********’
Request URL=> some URL
| Code | Details |
| 401Undocumented | Error: UnauthorizedResponse bodyDownload |
Can you guide me where is the problem and how to solve it please
