After deleting the file have you tried repairing the game? Usually that will help with this type of error.
If you're playing through Origin, you can right-click on Apex Legends and click Repair when the menu pops up. If you're using Steam, try verifying the integrity of the game files to see if that helps. For more information on how to verify file integrity check out the Steam Support website.
Let me know if you're still running into the same error message after that. Thanks!