I experience an issue similar to Flatpack Issue: Input Buffer Too Short, but I have no gnome-nightly installed so the solution there does not work for me.
$ flatpak remotes
Name    Options
fedora  system,oci
flathub system
gnome   system
$ flatpak update
Looking for updates…
Info: runtime org.gnome.Platform branch 41 is end-of-life, with reason:
   The GNOME 41 runtime is no longer supported as of September 17, 2022. Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
   org.gnome.GTG
        ID                                             Branch            Op           Remote            Download
 1. [✗] org.freedesktop.Platform.GL.default            21.08             u            flathub            1.0 kB / 129.8 MB
 2. [✗] org.gnome.Platform                             44                u            flathub           78.9 MB / 326.0 MB
 3. [✗] org.gnome.Sdk                                  44                u            flathub           93.7 MB / 664.4 MB
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/21.08 from remote flathub: Input buffer too small
Error: While pulling runtime/org.gnome.Platform/x86_64/44 from remote flathub: Input buffer too small
Error: While pulling runtime/org.gnome.Sdk/x86_64/44 from remote flathub: Writing content object: Need more input
Updates complete.
error: There were one or more errors
Any suggestions?
Edit: I see this bug has been filed for it: 2217263 – 1.15.4-1 fails to install apps: Writing content object: Need more input
Edit 2: and this: 2023.4 appears to have made Flatpak regress · Issue #2900 · ostreedev/ostree · GitHub