GithubHelp home page GithubHelp logo

Comments (6)

jordanranz avatar jordanranz commented on May 18, 2024

Curious what you mean by "pull from Github". Could you elaborate.

awsmobile pull and awsmobile console can only be run in a valid awsmobile project. You generally want to run awsmobile init prior to running these commands.

Could you provide a more verbose error output from the Invalid Signature error you are receiving.

from amplify-cli.

BrianSHenderson avatar BrianSHenderson commented on May 18, 2024

I have downloaded the source code from GitHub. I believe aws-export.js is not included on GitHub by default.

Brians-iMac-Pro:nmm-vegas brianhenderson$ awsmobile init <awsmobile-project-id>

failed to link to backend awsmobile project with id = <awsmobile-project-id>

Invalid Signature

{ InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
at Object.extractError (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/json.js:48:27)
at Request.extractError (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/rest_json.js:52:8)
at Request.callListeners (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:685:12)
message: 'The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.',
code: 'InvalidSignatureException',
time: 2018-07-03T17:25:10.071Z,
requestId: '1998f433-3cf4-49d1-be71-81e0be0a2e11',
statusCode: 403,
retryable: false,
retryDelay: 61.38202607007908 }

to change the configuration for the awsmobile-cli

$ awsmobile configure aws

Changing the awsmobile configure doesn't make any difference

from amplify-cli.

UnleashedMind avatar UnleashedMind commented on May 18, 2024

Please make sure you are using the same credentials to access aws.
You can do a side by side comparison by
awsmobile configure aws -l
on the two machines and see if they are the same

from amplify-cli.

BrianSHenderson avatar BrianSHenderson commented on May 18, 2024

I have exactly the same credentials with awsmobile and aws cli along with the same npm versions of aws-amplify and aws-amplify-react, what else can I check?

from amplify-cli.

kaustavghosh06 avatar kaustavghosh06 commented on May 18, 2024

@BrianSHenderson We've deprecated the awsmobile-cli. Please use the amplify-cli to build your app moving forward or use the https://github.com/awslabs/amplify-mobilehub-migrator to migrate your MobileHub project and then use the amplify-cli.

from amplify-cli.

github-actions avatar github-actions commented on May 18, 2024

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

from amplify-cli.

Related Issues (20)

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.