When trying to generate an image with a public custom style it gives an error