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

Solution to Unauthorized error for Problem API V2

Peter_Youssef
Champion

Hi, 

I've created a token to run Problem API V2 and got Error : Unauthorized how to get it resolved.

Thanks for advice and best practices to use API V2 perfectly.

Peter_Youssef_0-1673198171374.png

 

3 REPLIES 3

Rapidez
Participant

Regarding to Dynatrace documentation you have to generate an access token, and use it setting "Api-Token" header with token value.

https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication

Rapidez_0-1673206432376.png

 

Thanks @Rapidez 

I've already done these steps before posting my concern.

I'll delete current token and re-validate after creating a new token.

Mohamed_Hamdy
DynaMight Champion
DynaMight Champion

Hi Peter,

If the token is created with the right scope and you still got this message, try to make sure that you've added the token for authorization by clicking on the lock icon, if it was not set before.

Mohamed_Hamdy_0-1677232053420.png

 

 

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner - yourcompass.ca

Featured Posts