Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 restore_object erroneously throws DaysMustProvidedExceptForSelectRequest exception. #8635

Open
BGarber42 opened this issue Feb 27, 2025 · 0 comments

Comments

@BGarber42
Copy link

BGarber42 commented Feb 27, 2025

If Days isn't specified moto will throw a DaysMustProvidedExceptForSelectRequest exception when calling restore_object. However the S3 API documentation states:

Lifetime of the active copy in days. Do not use with restores that specify OutputLocation

Emphasis mine. restore_object should allow Days to be undefined the call is restoring to a different location rather than in-place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant