Issue Description
A JS exception related to the amplify.yml file prevents me from seeing the detail view of my amplify console. Modifying the yaml file in my repo doesn't seem to change that behavior.
Detailed Steps To Reproduce
Not sure how to reproduce.
Copy and Paste Logs + Error Messages (remove sensitive data)
main.js:35 uncaught at o YAMLException: duplicated mapping key at line 37, column 1:
version: 1
^
at m (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:187427)
at g (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:187525)
at N (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:188606)
at D (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:195585)
at x (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:198146)
at V (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:200254)
at j (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:201001)
at Z (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:201206)
at Object.O [as safeLoad] (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:102:201463)
at t.n.generateTabs (https://dqryvwaesjl1l.cloudfront.net/5d82503d58eaefe3954b453be1d2d57823dd518e/main.js:81:148187)
Expected behavior
Even if the amplify.yml file contains errors I should be able to remove the app or modify its build configuration.
Application Details
I can't get to my app ID because of the exception.
The contents of amplify.yml
version: 1
applications:
- appRoot: frontend
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- BUILD_MODE=$BUILD_MODE make build-frontend
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths:
- node_modules/**/*
customHeaders:
- pattern: '**/*.js'
headers:
- key: 'Cache-Control'
value: 'public,max-age=31536000,immutable'
- pattern: '**/*.css'
headers:
- key: 'Cache-Control'
value: 'public,max-age=31536000,immutable'
- pattern: '**/*.png'
headers:
- key: 'Cache-Control'
value: 'public,max-age=31536000,immutable'
- pattern: '**/*.jpg'
headers:
- key: 'Cache-Control'
value: 'public,max-age=31536000,immutable'
Hi @davidmatter,
Thanks for reporting. Just to understand the steps you followed:
@abhi7cr i am having the same problem: https://github.com/aws-amplify/amplify-console/issues/865
When you say you are not able to see app details. Do you mean you see a white screen when you click on the app?
You can not even see any details about the app anymore:

@abhi7cr I'm not exactly sure how to reproduce - Whether it was an invalid yaml file in the repo or in the app console. Same outcome as @H34D though.
Also, I haven't found out which version of the amplify.yaml file is used for the build if I make changes in both the repo's yaml file and the console's. Does the version in the repo override the one from the console or the other way around?
i recovered from this error with a sneaky workaround:
Hello all, thank you for your patience. We have deployed a fix for this, so it should no longer be an issue. Feel free to re-open this ticket if you continue to face this or related issues. Thank you!
@Athena96 thanks! I still have this question that is absolutely unclear from the docs as well as the UI:
Also, I haven't found out which version of the amplify.yaml file is used for the build if I make changes in both the repo's yaml file and the console's. Does the version in the repo override the one from the console or the other way around?
@davidmatter for a given branch, if you include amplify.yml in your project root during a build/deploy of that branch, that will override whatever you have provided in the console (regardless of what it shows).