Question

Invalid Argument when uploading to space using preSignedUrl

I’m following this tutorial : https://www.digitalocean.com/docs/spaces/resources/s3-sdk-examples/. to upload images to space from browser. Upload directly using s3.putObject works fine. However I’d like to use the preSingedUrl instead, but I keep getting InvalidArgument error. How do I debug this?


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