Error on uploading send with custom expiration duration #2024
Replies: 3 comments
-
confirmed. Currently custom dates are not yet supported. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure how applicable this is, but I have not seen the same issue you experience while in the web vault. Upon creating a send with a file attachment, the deletion date was set to 30 days (can be set to a maximum of 31 days per Bitwarden documentation) and the expiration date was set over 1 year in advance for testing. The send was saved and uploaded, and the deletion dates and expirations dates were kept as expected. Link for send is valid, and shows proper expiration date. One thing I will note is that Bitwarden considers sends to be ephemeral and thus currently are limited only be set for a max of 31 days until deletion (if trying to set expiration longer than 31 days an error occurs with message "You cannot have a Send with a deletion date that far into the future. Adjust the Deletion Date to a value less than 31 days from now and try again."), expiration is expected to be either not set, to where the send is deleted on deletion date and access to the send is removed once send has been deleted. |
Beta Was this translation helpful? Give feedback.
-
Ah, indeed, i haven't checked the bitwarden site it self yet, so didn't noticed they had a limit of 31 days. |
Beta Was this translation helpful? Give feedback.
-
Subject of the issue
Error on uploading send with custom expiration duration
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SIGNUPS_ALLOWED, SIGNUPS_VERIFY, ADMIN_TOKEN
Steps to reproduce
I Want to send on server a zip file with a custom duration of expiration (1 year)
Expected behaviour
I wanted to pushed the file on server.
Actual behaviour
i got an error 502 Bad gateway on response. if i change the duration to 30 days the file upload well.
Beta Was this translation helpful? Give feedback.
All reactions