Oracle Solution for Error ora-13520

Solution for Oracle Error ORA-13520

ORA-13520: Database id (string) not registered, Status = string

What triggered the Error:

The operation failed because the specified database ID was not registered in the Workload Repository properly.

What should we do to fix it:

check the status of database id and retry the operation.