Oracle Error ORA-31465: cannot obtain a lock on the subscription

Oracle Error Message

ORA-31465: cannot obtain a lock on the subscription

Reason for the Error

A timeout occurred while trying to place a lock on the subscription. Another session had already acquired the lock on the subscription.

Solution

Ensure the subscription name is correct and correct it if necessary. If it is already correct, try the operation again after the session holding the lock has released it.