filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
205 stars 81 forks source link

Add support for upload on s3 bucket in eu-central-2 #546

Open dbouclier opened 10 months ago

dbouclier commented 10 months ago

I'm migrating my buckets from eu-central-1 (Frankfurt) to eu-central-2 (Zurich), using following example configuration code which is working well when storeTo:region = "eu-central-1, bucket configuration are exactly the same in both region

       client
            .picker({
                fromSources: ['local_file_system'],
                storeTo: {
                    location: 's3',
                    region: 'eu-central-2',
                    container: 'filestack-uploads',
                },
                ... 
                }

Expected Behavior

I expect same behavior as eu-central-1

call "https://upload.filestackapi.com/multipart/start" will return 200 and then call https://upload.filestackapi.com/multipart/complete will succeed too

Current Behavior

call to "https://upload.filestackapi.com/multipart/start" return HTTP 400 with this payload

{"error":"invalid params: store:region","timestamp":1706021363}

Additional Screenshots

1 image

Your Environment