Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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?