Giter Club home page Giter Club logo

Comments (6)

shubhamsre avatar shubhamsre commented on July 29, 2024 1

You should set signatureVersion: 'v4' in config to use new signature version in aws:
AWS.config.update
({
signatureVersion: 'v4'
});

If you are using boto3 then there will be a different work around. But the error is just because the region doesn't support V2 and V4 must be used.

from aws-labs.

ravsau avatar ravsau commented on July 29, 2024

Hi @modeler If this is regarding this lab presign-url-s3-upload, I just verified the steps and it's working for me.

from aws-labs.

ravsau avatar ravsau commented on July 29, 2024

I'll share a couple of links that have some pointers on what you can try to make this work :

from aws-labs.

ravsau avatar ravsau commented on July 29, 2024

This may be the reason why your upload is failing
image

Reference

https://docs.aws.amazon.com/general/latest/gr/signature-version-2.html

from aws-labs.

modeler avatar modeler commented on July 29, 2024

Hi,

Thank you both for following this up. I just tried again and it worked fine, no idea what the problem was on my previous attempt!

from aws-labs.

shubhamsre avatar shubhamsre commented on July 29, 2024

Hi,

Thank you both for following this up. I just tried again and it worked fine, no idea what the problem was on my previous attempt!

Your welcome @modeler and Its great to hear that. Anyway just clone the repo again as i made the changes to work only with V4. I am sure it will work just fine.
Thanks

from aws-labs.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.