Question

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

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>


Submit an answer

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

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