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)
- Migration to new account HOT 6
- Amplify application is not working properly with Chrome set as default browser but it works on the mozilla firefox browser HOT 1
- environment not setting up when switching amplify environments or "amplify pull" HOT 2
- Unauthorized tagging operation HOT 14
- When using the export command, a Lambda function with Python 3.7 is automatically generated. HOT 5
- Got gql "Syntax Error" after amplify pull, cannot compile or push any schema changes or roll back HOT 2
- Deleting rest api methods HOT 3
- Amplify push fails after adding a function HOT 2
- Function amplify.state files should be displayed in IDE HOT 1
- ENOENT: no such file or directory, stat .../#current-cloud-backend/<lambda-layer-path>/.../node_gyp_bins/python3 HOT 2
- Cannot add new environment with deleted lambda-layer HOT 3
- Amplify Angular Error export 'ApiAction' (imported as 'ApiAction') was not found in '@aws-amplify/core' HOT 3
- Error when run "amplify init" HOT 1
- Failed to pull the backend CLI 12.12.0 HOT 5
- my broken deployment issue is going to cost me $2300 this month and wont delete! HELP HOT 5
- Aws Amplify Liveness HOT 1
- update/delete of notifications on newly created environment yields in errors HOT 1
- Usage pattern to allow either owner or few lambda functions to call GraphQL endpoints
- Can't create new amplify env because MFALambdaRole already exists
- AMplify push not working suddenly HOT 1
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.