How to upload file to spaces with react native?

Hi Everyone,

I tried with the below config but facing an access issue. can someone guide me to the root cause?

“<Code>AccessDenied</Code><Message>Policy check failed, variable not met condition: bucket</Message><BucketName>s3-sfo3</BucketName>”

                keyPref`ix: 'store_videos/',
                bucket: 'store',
                region: 'sfo3', 
                accessKey: KEY,
                secretKey: SECRET_KEY,  
                successActionStatus: 201,
                awsUrl: '',`

Tried generating a new access token and secret key but the issue was not resolved.

**Libraries using: ** react-native-image-picker react-native-upload-aws-s3

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer