-
Notifications
You must be signed in to change notification settings - Fork 825
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
amplify init
says 🛑 Forbidden with no explanation
#13342
Comments
Hey @dacarson 👋 thanks for raising this! As we begin to look at this in more depth I have a few follow-up questions/confirmations:
|
Yes. I used what was shown in the 'Retrieve access keys' section of: https://docs.amplify.aws/cli/start/install/#configure-the-amplify-cli
|
Is there any other way to build the json files? I am blocked on application development right now. |
FWIW, I tried |
I found the issue. The |
Hey @dacarson glad to hear you've found the cause for this and are back up and running! And to your note I agree this error message can be improved. I'll mark this as a feature request to improve the messaging |
Moving to bug to improve error messaging. |
So I am experiencing this issue right now. From what I read the issue is caused by providng the wrong secret access key for the amplify cli. Also I am not sure if this matters but does being an IAM user have any impact on this? |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.0.0
Amplify CLI Version
12.7.0
What operating system are you using?
Mac Sonoma 14.1 Beta
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
Following the online steps, I installed and setup the amplify CLI
Now when running
amplify init
I get a Forbidden error, though no information about what is wrong.Expected behavior
No error and I can go onto step (4) of the guide:
https://docs.amplify.aws/lib/project-setup/create-application/q/platform/ios/#2-install-amplify-libraries
Reproduction steps
Follow instructions for project setup for a mac/xCode/Swift as documented here:
https://docs.amplify.aws/lib/project-setup/prereq/q/platform/ios/
Project Identifier
dacarson$ amplify diagnose --send-report
Learn more at https://docs.amplify.aws/cli/reference/diagnose/
⠋ Creating Zip
No Amplify backend project files detected within this folder.
✖ Creating Zip
dacarson$
Log output
Additional information
First time going through this.
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: