When does an error occur if using an expired token for Put Object in Swift API?
Applies to
- StorageGRID
- Swift API
Answer
The error (
Unauthorized to access this resource
) occurs before the data upload is performed, after the establishment of the PUT connection.Additional Information
- If the Keystone token expires while performing a Put Object in the Swift API, the upload will complete without any problems.
- Token verification occurs only once after the PUT connection is established. It is not repeated after that.