Open velara3 opened 8 months ago
So it was mentioned that maybe I need to use a signed Post URL? If so here is the call I'm using. It returns a url but when passing it to AIO it still returns the same error message, "Access is forbidden".
var signedPutURL = await getSignedPostUrl(putKey, bucket);
export async function getSignedPostUrl(key: string, bucket: string, expireAfterMinutes: number = 0, options = null):Promise<string>{
const s3 = new AWS.S3();
var params = {
Bucket: bucket,
Fields: {
Key: key,
ContentType: "application/octet-stream",
}
};
if (options) {
params = Object.assign(params, options);
}
const presignedPost = await s3.createPresignedPost(params);
const url = presignedPost.url;
return url;
}
Please! Don't everyone answer at once!
Well, it was solved. It was related to defining a put url that matches the schema sent by the PS API. I can't find the page now but it was a page on storage on the aio sdk code examples page. I'm not going to link to it because no one is answering this forum. So why help others if no one helped me?! That's the boomer philosophy. Why prevent the suffering of others if I had to suffer so should they. So I'm not going to link to it. Let the suffering continue. No one is preventing suffering through this forum. Why improve or upgrade the world. Why do anything good!?
When I try to create a rendition and save it to S3 I am getting the following error:
The results are:
I don't know what else I need to do