function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jayanth ThathapudiJayanth Thathapudi 

Apex Replay Debugger is not working

{
"status": 1,
"name": "FIELD_INTEGRITY_EXCEPTION",
"message": "This entity is already being traced by a trace flag with a start and expiration date that overlap this trace flag's start and expiration date.: Traced Entity ID",
"exitCode": 1,
"commandName": "Create",
"stack": "FIELD_INTEGRITY_EXCEPTION: This entity is already being traced by a trace flag with a start and expiration date that overlap this trace flag's start and expiration date.
Vishwajeet kumarVishwajeet kumar
Hello,
I have seen similar error coming into salesforce interface when a debug log in already setup for user and when we try to setup another debug for same user. 

Are you running two instances of debugger? 

Thanks
Evan McDanielEvan McDaniel
I've been getting this same error in a sandbox that I know has no other active debug logs for the past few weeks.
Evan McDanielEvan McDaniel
Looking into it more I found that the command Turn On Apex Debug Log for Replay Debugger was using an incorrect, older, Start Date. When I went into my org and removed the debug log that was active during that time, the command started working again.