Comments (6)
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.
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.
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.
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.
@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.
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)
- Install Amplify CLI on Windows Github Actions Fails: The term 'install.cmd' is not recognized as a name of a cmdlet HOT 6
- How do I add AdminQueries when i am using Imported Cognito Auth HOT 3
- Failed to Pull the backend - \auth\parameters.json' does not exist HOT 9
- Error: Can't resolve 'amplifyconfiguration.json' in build stage HOT 5
- How to create a lambda function using .Net Core. HOT 2
- Amplify console cant connect a second branch after successful Github App authentication HOT 2
- 'Source image [id] does not exist. Provide a valid source image.' when I ran amplify push with custom resource HOT 3
- Errors occur when connecting through corporate proxies. HOT 1
- Build backend failed - Error: Command failed with ENOMEM: yarn --version HOT 21
- Support for setting PreTokenGeneration to v2_0 for access token HOT 1
- amplify/backend/amplify-meta.json' does not exist on Build HOT 18
- Amplify Pull not working HOT 2
- New deployment isn't connected to a backend on the console by default. HOT 3
- Unexpected throttling during deployment from UpdateRolesWithIDPFunction HOT 4
- Documentation Updates for "Migrate from Legacy FCM APIs to HTTP v1"
- Resource handler returned message: "A condition block must be present for the Cognito provider HOT 3
- Resource handler returned message: "A condition block must be present for the Cognito provider HOT 1
- Golang `mock` tcp :8900: connect: connection refused HOT 1
- AxiosError: read ECONNRESET HOT 3
- Amplify push function does not push all files HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-cli.