Error updating flatpak: corrupted file object

If you haven’t tried, you can also use repair with --user or --system, depending on the installation, and possibly with sudo.

Another thing to try is to reinstall the problematic package. Logically, this should be flatpak install –reinstall package. Note: I’ve never tried this because I haven’t encountered such problem, it’s just one thing I found.