There's an updated firmware just been released for the X-H2S, Hs, T5, S10 and E4.
The firmware bug has been fixed that “WRITE ERROR” error appears in rare cases when images are saved to the slow data transfer speed memory card installed in the camera.
Download it starting here fujifilm-x.com/en-gb/global-news/2023/0615_4226402/
And don't forget you need to scroll down to the bottom of the page and click on the 'I agree' before you can download it.