The server need to send error 500 when the image has been rejected by
server