How to fix code cloud in Apex Legends - PC, XBOX and PS4
Code cloud means your connection to EA server timed out, or that you're connecting to a game instance that no longer exists.
Unfortunately, there is nothing you can do to fix the issue on your side, even though a game repair my help. You must wait for hotfix to be published. Waiting a few minutes before trying again may sometimes fix the issue, to let the "no longer existing" game instance time out.