Closed SaileshKumar closed 2 years ago
Hi @SaileshKumar 👋 because this issue is more related to hosting, I'm going to transfer this over to the console repo for better support. Thank you for raising this issue!
Hi :wave:, thanks for opening! While we look into this...
If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.
Lastly, please make sure you've specified the App ID
and Region
in the issue!
Fixed by downgrading the CLI
Locally: npm i @aws-amplify/cli@7.6.8
In Env Variables: _LIVE_UPDATES -> 7.6.8
I'll leave this open for you all to decide if close, or fix in 7.6.9 :)
@SaileshKumar Thanks a lot. I have the same error. The same (temporary) solution worked. #2509
Fixed by downgrading the CLI
Locally: npm i @aws-amplify/cli@7.6.8
In Env Variables: _LIVE_UPDATES -> 7.6.8
I'll leave this open for you all to decide if close, or fix in 7.6.9 :)
I'm hitting this too. The workaround here from @SaileshKumar worked for us. Steps:
[{"pkg":"@aws-amplify/cli","type":"npm","version":"latest"},{"pkg":"next-version","type":"internal","version":"latest"},{"pkg":"node","type":"nvm","version":"14"}]
[{"pkg":"@aws-amplify/cli","type":"npm","version":"7.6.8"},{"pkg":"next-version","type":"internal","version":"latest"},{"pkg":"node","type":"nvm","version":"14"}]
This workaround worked for us. We'll plan to change it later back to latest.
Im having a build error in amplify console:
2022-01-22T18:11:20.439Z [INFO]: Following resources failed 2022-01-22T18:11:20.440Z [INFO]: Resource Name: eu-west-1 *** (AWS::Cognito::UserPool) Event Type: update Reason: Updates are not allowed for property - UsernameConfiguration. (Service: AWSCognitoIdentityProvider; Status Code: 400; Error Code: InvalidParameterException; Request ID: null; Proxy: null)
2022-01-22T18:11:20.440Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
Even though the only change i made was in schema.garphql file. But changing amplify version to 7.6.8 didn't fix my problem...
For me setting these environment variables actually did provide a workaround. AMPLIFY_FACEBOOK_CLIENT_ID AMPLIFY_FACEBOOK_CLIENT_SECRET AMPLIFY_GOOGLE_CLIENT_ID AMPLIFY_GOOGLE_CLIENT_SECRET
It's set to use the latest aws-cli, which should be v7.6.22, atm.
@swaminator
Still getting the same issue: (@aws-amplify/cli version 7.6.24)
Following resources failed Resource Name: eu-west-1_P2BhinJiq (AWS::Cognito::UserPool) Event Type: update Reason: Updates are not allowed for property - UsernameConfiguration. (Service: AWSCognitoIdentityProvider; Status Code: 400; Error Code: InvalidParameterException; Request ID: null; Proxy: null) URL: xxx 2022-03-16T17:15:20.732Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud 2022-03-16T17:15:20.732Z [WARNING]: ✖ There was an error initializing your environment.
But I didn't change the property - UsernameConfiguration.
Is it related to #2509 ?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Categories
auth, function, api
Environment information
Describe the bug
App ID - d2043y24tqcg54 Region - us-east-2
WHenever I push a change to github, the deployment fails on Amplify. Interestingly enough I can push with amplify push, but just not the auto deployments.
I get one error on the "hosted environment" tab, and one error on the "backend environment" tab.
Hosted:
Backend:
I haven't added any new attributes, nor does cloudformation url seem to resolve anywhere. It's currently blocking my deployments, any ideas how to fix?
Separately, I previously configured these as environment variables:
AMPLIFY_FACEBOOK_CLIENT_ID AMPLIFY_FACEBOOK_CLIENT_SECRET AMPLIFY_GOOGLE_CLIENT_ID AMPLIFY_GOOGLE_CLIENT_SECRET
Expected behavior
Any new commit to the branch hooked up to Amplify should successfully redeploy.
Reproduction steps
Reproduced with pushing to my branch that deploys Amplify: git push origin master
Code Snippet
Log output
aws-exports.js
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
auth/cli-inputs.json: