If OTA fails, you can manually download the official OPPO firmware from trusted sources.
Go to Settings > App Management > All > Software Update . Tap Clear Data and Clear Cache , then restart and check for updates again.