Report this

What is the reason for this report?

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

Posted on October 22, 2021

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>



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.