Question

Cant upload files to spaces

Posted September 14, 2021 93 views
DigitalOcean Spaces

Hi everyone,

I have been using spaces almost 10 days and i was able to upload photos, files using react-native until today.
Today when i try to upload a file i will get this error and cant figured out how to solve it. Please could you guys help me?

error:

text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>AccessDenied</Code><Message>Policy expired</Message><BucketName>bagenda-space</BucketName><RequestId>tx0000000000000033cfdef-0061406ea7-1e51ad3d-fra1b</RequestId><HostId>1e51ad3d-fra1b-fra1-zg02</HostId></Error>

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

It looks like that you are getting an access denied message. What I could suggest is making sure that the token that you are using is correct, and in case that it still does not work, I could suggest creating a new token and trying again.

Let me know how it goes!
Regards,
Bobby