Tracing not started error?  Perhaps, like me, you recently rebooted the environment and it had not fully initialized before you tried to start recording on a new Data Expansion project.

1. Reboot the environment.

2. Create and build a runnable class (“job”) to call DataExpansionTraceControl::clear(true).

3. Run the class  https://XXX.cloudax.dynamics.com/?cmp=usmf&mi=SysClassRunner&cls=DagResetDataExpansionTracing

Here is the logic which will run:

The prior steps will stop the failed trace and enable you to start recording a new project.