Oracle Solution for Error ora-37115

Solution for Oracle Error ORA-37115

ORA-37115: New OLAP API history is not allowed

What triggered the Error:

If there are active OLAP API sessions, it is not allowed to start a new OLAP API history by setting _olapi_history_retention parameter to true.

What should we do to fix it:

Wait until all active OLAP API sessions terminate before resetting _olapi_history_retention parameter to true.