S3 source tested for errors; returning custom access denied error as well