Bad results exporting image from viewer

Sometimes, when I try to export a gt table or another graphic from viewer panel I obtain this and not the graphic:

Does anyone know what could be causing it?

it looks like your image is cropped so that we couldnt read the error message you may have had ( if thats what that is)

Hi @nirgrahamuk . This is not an error message, this is the image that I got when export from viewer pane.