Error in retrieving a cutout from a tutorial notebook

I am getting an error while running the tutorial notebook 103.4. Rubin Cutout Service , section 3.2 Retrieve the Cutout. Running the code

cutout_bytes = sq.execute_stream().read()
sq.raise_if_error()
mem = MemFileManager(len(cutout_bytes))
mem.setData(cutout_bytes, len(cutout_bytes))
exposure = ExposureF(mem)

retrieves the following error message:

FitsError Traceback (most recent call last)
Cell In[84], line 5
3 mem = MemFileManager(len(cutout_bytes))
4 mem.setData(cutout_bytes, len(cutout_bytes))
----> 5 exposure = ExposureF(mem)

FitsError:
File “src/fits.cc”, line 540, in void lsst::afw::fits::Fits::setHdu(int, bool)
cfitsio error (unused): tried to move past end of file (107) : Moving to HDU 4
cfitsio error stack:
{0}
lsst::afw::fits::FitsError: 'cfitsio error (unused): tried to move past end of file (107) : Moving to HDU 4
cfitsio error stack

A colleague also tested it and got the same error.