Switchover fails from OEM
I have a dataguard database (Oracle 19.4) that I would like to switchover from the gui of OEM (13.5.0.14) I go to the pimary database home page in OEM, Availability, Dataguard Administration, and click on the button "Switchover"
This failes with "Data Guard Internal Error : Refer to the Management Server Logs for more information." and in the emoms.log I can find the error:
2023-05-15 09:45:20,746 [EMUI_09_45_19_/console/database/dataguard] ERROR em.dataguard getActiveFSFOTarget.9296 - StandbyUtil.isActiveFSFOTarget: Null or empty Active FSFO Target from V$DATABASE
2023-05-15 09:45:21,327 [EMUI_09_45_19_/console/database/dataguard] WARN em.dataguard getDBTargetInfo.1217 - StandbyTargetService.getDBTargetInfo : no match for db_unique_name = [DB_UNIQUE_NAME], sid = [DB_UNIQUE_NAME]_2