-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Attach to Backend #1034
Comments
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. |
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. to change the configuration for the awsmobile-cli
Changing the awsmobile configure doesn't make any difference |
Please make sure you are using the same credentials to access aws. |
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? |
@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. |
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 |
When I pull from GitHub to a new machine I get errors when doing commands such as:
awsmobile pull
awsmobile console
Where I receive:
backend awsmobile project unknown
Attempting to do:
awsmobile init
Gives an Invalid Signature error
Any ideas?
The text was updated successfully, but these errors were encountered: