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

Dynatrace OneAgent (iOS) not running, error code is 1

AlexW
Newcomer

I got few customised actions and some are init successful, but the rest return nil.
I try to catch that with  Dynatrace.lastErrorCode() Dynatrace.lastErrorMsg() and found the code is 1 and msg is "Dynatrace OneAgent (iOS) not running"

Can someone please help me out if they got this issue before?

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

The SDK does not seem to be initialized. Ensure the SDK initialized either by auto start or start it manually depending on your preference. Also you can run the OneAgent in DEBUG mode to see what is going on - see https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-i... 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Patrick_H
Dynatrace Champion
Dynatrace Champion

If agent is not running this can have several reasons:

  • agent was misconfigured
  • session is skipped because of capture percentage set to <100%
  • capture was turned off for this application on cluster
  • agent turned off because of no more license credits

when logging is enabled on agent it should be more easy to detect why it did not start up - I suggest to enable logging and check the log or ask for help submitting the full log to our support team.

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Featured Posts