Oracle Solution for Error ora-02047

Solution for Oracle Error ORA-02047

ORA-02047: cannot join the distributed transaction in progress

What triggered the Error:

Either a transaction is in progress against a remote database that does not fully support two phase commit, and an update is attempted on another database, or updates are pending and and an attempt is made to update a different database that does not fully support two phase commit.

What should we do to fix it:

complete the current transaction and then resubmit the update request.