Old token being used when new token was updated last night, why might that be?

snow_beginner
Mega Guru

Hello,

For the dynatrace Oneagent integration, there is a token that is stored in a property in the sys_properties table on servicenow.

 

There is a scheduled job which runs at 3:15 am and there is a script include in it and then the integration uses that token. It is due to expire today as the user who made it is leaving today. 

 

The token was upgraded last night in prod. The new token was generated by a service account, but when the scheduled job ran last night, it used both old and new token. That's what they are seeing on the dynatrace side. Why might that be?

 

I have checked the script includes, business rules, client scripts, transform scripts, UI actions etc and that token property is not being called anywhere else except for the 1 script include in the scheduled job, so why might this be happening?

 

Thanks.

3 REPLIES 3

SunilM655361195
Tera Contributor

Very helpful information.

SwathiPedireddy
Kilo Sage

Hi @snow_beginner 

Did both API calls were successful with old and new token?

Are you sure that both API calls are from the same instance and what is the time gap between two API calls?

 

Thanks,

Swathi

Hi @SwathiPedireddy 

 

yes both API calls are successful and they are being made at 3:16 am when the scheduled job executes.

 

 The old one is set to expire today as the user is leaving today.