You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2020. It is now read-only.
getting this error when trying to set up my awsmobile project on a new machine:
> awsmobile init xxxx-xxxx
failed to link to backend awsmobile project with id = xxxx-xxxx
the security token included in the request is invalid
{ UnrecognizedClientException: The security token included in the request is invalid.
at Object.extractError (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/json.js:48:27)
at Request.extractError (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/rest_json.js:52:8)
at Request.callListeners (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/home/ed/dev/circles-mobile/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:685:12)
message: 'The security token included in the request is invalid.',
code: 'UnrecognizedClientException',
time: 2018-08-10T13:32:54.803Z,
requestId: 'fe82cd85-841d-47e8-9815-6c56f8e181a9',
statusCode: 403,
retryable: false,
retryDelay: 28.37176829358361 }
Visit the following address to setup your aws account/user credentials:
https://console.aws.amazon.com/iam/home?region={region}#/users$new?step=final&accessKey&userNames={userName}&permissionType=policies&policies=arn:aws:iam::aws:policy%2FAdministratorAccess
# to set up the credentials for the awsmobile-cli
$ awsmobile configure aws
npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR! circles-mobile@0.1.0 init: `awsmobile init 770910f7-fd56-4dde-8c4a-a2eb555047c7`
npm ERR! Exit status 4
npm ERR!
npm ERR! Failed at the circles-mobile@0.1.0 init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I am definitely using valid AWS credentials. The project definitely exists.
Surely AWS Amplify is not just single user? We are trying to use it for our project and 80% of the time I can't set users up with awsmobile because of this problem. Here is our repo FYI
getting this error when trying to set up my awsmobile project on a new machine:
and versions:
I am definitely using valid AWS credentials. The project definitely exists.
Surely AWS Amplify is not just single user? We are trying to use it for our project and 80% of the time I can't set users up with awsmobile because of this problem. Here is our repo FYI
hope you can help