mirror of
https://github.com/rclone/rclone.git
synced 2026-10-10 23:11:42 -04:00
Reading an object in an archive storage class failed with "Object in GLACIER, restore first" even when the object was in DEEP_ARCHIVE or in an Intelligent-Tiering archive access tier. Use the storage class and access tier from the InvalidObjectState error. The storage class is optional in that error, so fall back to the storage class from the listing or HEAD, and then to GLACIER as before.