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

How to Troubleshoot RUM JS Issue - Environment Mismatch

RR123
Frequent Guest

Hi,

Suppose I retrieve the Dynatrace RUM JS tag based on what I see from here https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/rum/real... . Then, I programmatically send this JS tag from within a custom framework upon each user action in a web-based application.

I would expect to see the RUM data of the user actions appear in a monitoring app (agentless RUM monitoring / manually inserted) in Dynatrace. The expected response from the "dtag"-specific calls is similar to the one below:

OK(BF)|sn=v_4_srv_15_sn_sessionID_app-appID_1_ol_0_perc_100000_mul_1|name=ruxitagent|config=....

This would indicate that the RUM data has been exported to Dynatrace and can be seen in the monitoring app. So, this works fine in Dynatrace Managed.

However, in Dynatrace SaaS, I am receiving the following error (from the dtag calls) and cannot see the RUM data on the monitoring app: 

FL(BF)|Error=Environment mismatch

Could someone please suggest how to go about troubleshooting this?

Thank you, and appreciate the support! Please let me know if you require further details.

2 REPLIES 2

anna_zajaczkows
Dynatrace Enthusiast
Dynatrace Enthusiast

Hello,

Did you copy the injection tag from the Saas application configuration page? The one from Managed will will always point the data back to managed environment. 

Kind regards,

Anna

Hi @anna_zajaczkows - Thank you for the response.

Yes, I am retrieving the injection <script> tag from the application page from DT SaaS - not DT managed. Also, this application is "manually-inserted" not "auto-injected". I had no issues in Managed - this is only happening in SaaS. Would there be any documentation regarding the types of responses one could expect from these dtag/injection calls?

Featured Posts