Fix InvalidObjectState HTTP code (#5217)
This commit is contained in:
parent
e15c16eaed
commit
7c00654647
@ -524,7 +524,7 @@ class InvalidContinuationToken(S3ClientError):
|
||||
|
||||
|
||||
class InvalidObjectState(BucketError):
|
||||
code = 400
|
||||
code = 403
|
||||
|
||||
def __init__(self, storage_class, **kwargs):
|
||||
kwargs.setdefault("template", "storage_error")
|
||||
|
Loading…
Reference in New Issue
Block a user