Uploading files to an S3 object locked bucket
Hi there,
I am attempting to upload files to an object locked bucket in Amazon S3. For those unfamiliar, object lock in S3 is primarily for compliance and limits any user from deleting or removing files after upload.
I am getting the upload to work to a normal bucket via the native Xano functions, but for object locked buckets I receive errors about needed additional headers for security. Find the relevant part of the error below:
InvalidRequest Content-MD5 OR x-amz-checksum- HTTP header is required for Put Object requests with Object Lock parameters
Setting up the direct external API requests to S3 seems relatively complicated after reading the docs (e.g. generating the signature, etc.) so thought I'd ask if anyone:
1. Knows if I can set this custom header within the native Xano S3 function
2. Has experience connecting to S3 via external API requests in Xano
Thanks!
Jack
Answers
-
Hi @jackb we're going to add additional support for the object lock parameters. The team is testing/working through this as we speak so it's quite likely this will be included with the next release.
-
@Lachlan thats huge news! Thank you 💪
-
Can you confirm that the object isn't locked on Compliance mode? @jackb
This is the only way the engineers were able to throw an error. -
@Lachlan Yes, I have compliance mode on
-
Thanks for clarifying, we will have this updated as part of the next release.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback