Add a status code so that we can know if getObject failed for s3.