param: Add errors for when an s3 context is used incorrectly