Question

When I Try to Upload pdf file from laravel website it showing following error (AccessDenied) . How can i solve this.?

Posted October 22, 2021 107 views
DigitalOcean Spaces

Error executing “PutObject” on “https://nyc3.nyc3.digitaloceanspaces.com/uploads/1634885634.pdf”; AWS HTTP error: Client error: PUT https://nyc3.nyc3.digitaloceanspaces.com/uploads/1634885634.pdf resulted in a 403 Forbidden response: <?xml version=“1.0” encoding=“UTF-8”?><Error><Code>AccessDenied</Code><BucketName>nyc3</BucketName><RequestId>tx00000000 (truncated…) AccessDenied (client): - <?xml version=“1.0” encoding=“UTF-8”?><Error><Code>AccessDenied</Code><BucketName>nyc3</BucketName>

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

Hey there! It sounds like this could be a permissions issue on the Space and the token being used or another issue with your account. Is there any additional error information shown in your applications logs or console? You may also need to configure CORS for your Space to ensure that upload is accepted from your application. Spaces CORS

Nate