Open
Description
Hey Tim,
I'm getting an error when trying to use the lib with R2 for some reason. I have tested my config & endpoint using Bruno ( Postman alternative) and that works properly, but I'm getting bad request with next-upload
.
Have you ever tested it with R2?
Error:

This is my config:
export const config: NextUploadConfig = {
maxSize: '3mb',
bucket: '<bucket_name>',
client: {
region: 'auto',
endpoint: env.R2_BUCKET_ENDPOINT,
credentials: {
secretAccessKey: env.R2_SECRET_KEY,
accessKeyId: env.R2_ACCESS_KEY,
},
},
};
Thank you,
-8x4
Metadata
Metadata
Assignees
Labels
No labels