First, you must configure a Fabric connector in FortiOS. Calling APIs to OCI during HA failover requires this step.
You must ensure that HA status is enabled for the Fabric connector:
config system sdn-connector
set type oci
set ha-status enable
You must then configure A-P HA settings by using CLI commands on the GUI or via SSH.