Should not try to use res when S3 get fails.