throw exception on sending imagedo s3