on 03 Jan 2023 02:42 AM - edited on 22 Nov 2023 01:31 PM by Adam-Piotrowicz
Reasons for not recording sessions are accessible as a usersession.reasonForNoSessionReplay property in USQL. Because it is stored for every session –with or without Session Replay recording data– in order to retrieve a list of reasons for sessions without replay data, this property should be used in conjunction with usersession.hasSessionReplay = false. Additionally, because every session will have the default unknown value, if this property has NULL value it's safe to assume Session Replay was not enabled.