Retrieving an image in dr8

This works fine:

curl -o ‘name.jpeg’ ‘http://legacysurvey.org/viewer/jpeg-cutout?ra=334.62567&dec=0.20588&size=512&layer=decals-dr7&pixscale=0.262&bands=grz

But this does not:

curl -o ‘name.jpeg’ ‘http://legacysurvey.org/viewer/jpeg-cutout?ra=334.62567&dec=0.20588&size=512&layer=decals-dr8&pixscale=0.262&bands=grz

How come? What is the curl code to retrieve a dr8 image?

The layer name is just “dr8”, not “decals-dr8” (because dr8 includes both DECaLS and MzLS+BASS data).