fixed s3 delete
Fixed a bug where invalid URLs will now throw HTTP error 404 instead of error 500