Oracle Error ORA-24069: cannot downgrade queue table string while it is being upgraded

Oracle Error Message

ORA-24069: cannot downgrade queue table string while it is being upgraded

Reason for the Error

An attempt was made to downgrade a queue table, but a previous command to upgrade the queue table has not yet completed successfully.

Solution

Complete the upragde of the queue table by re-executing the DBMS_AQADM.MIGRATE_QUEUE_TABLE procedure. Then, downgrade the queue table.