Apps fail to instal from Flathub

Using FireFox. While on if you click ‘install" under an app name, a firefox pop up ask "What should Firefox do with this file’ if you select "Open with’ click other and select the “Software app” when the App opens this error is displayed "Failed to install: not supported’