Just to inform others here, my prton vpn sometimes interferes with the installation of some flatpaks.
When I disable the vpn, installation of flatpaks succeeds.
Do you switch to some particular country with that vpn?
I don’t remember; sorry. I remember that when i turned off my Proton vpn, that flat packs installed successfully.