Amplify Publish - BadRequestException: Operation not supported. App is already connected a repository. #4837
Labels
documentation
Add or update documentation
hosting
Issues tied to hosting category
pending-response
Issue is pending response from the issue author
pending-triage
Issue is pending triage
It is potentially linked to both CLI and Console in my opinion.
See below.
Describe the bug
On the CLI : Publishing Manually
amplify publish
ends up withOperation not supported. App is already connected a repository.
despite having runamplify hosting remove
andamplify hosting add
again with option "Manual"Amplify CLI Version
4.24.1
To Reproduce
Here is the course of events:
auth headless is missing the following inputParams facebookAppIdUserPool
(whileamplify push
goes fine)amplify publish
(Backend works - I just need to deploy frontend) -> fails due to CI/CD setup from consoleamplify hosting remove
thenamplify hosting add
to go back to manualamplify publish
-> ends up withOperation not supported. App is already connected a repository.
On the console side, it says "Repository is already connected to another app".
But I see no other app (deleted all older apps).
It is not possible to select a branch (see screenshot) - even if I select another repo.
Expected behavior
A clear and concise description of what you expected to happen.
on CLI being able to run
amplify publish
if in manual modeOR on console being able to (re)implement CI/CD
OR is there a way to disconnect repo ?
OR is there a way to reconnect repo AND branch (I can select the repo, put the branches dropdown is empty)
OR is there a good way to clone my repo and init a new amplify app just to deploy frontend ?
In any way, I just want to publish the frontend without having to start the whole stack from scratch (again).
At least not at the moment.
Screenshots
Desktop (please complete the following information):
Additional context
In any way, I just want to publish my app without having to start the whole stack from scratch (again).
If you can recommend a way to duplicate my app so I can start again but without having to rebuild the backend, please share it and I'll go this way.
There are big frustrations as I face "stupid" issues while being very close to launching.
This is one. Last week I had to rebuild the whole stack upon deploy as well.
But still I really enjoy amplify and when it goes well it's great.
It's really good to see all the progress made in a year!
Thank you all for all the good work 🙏
The text was updated successfully, but these errors were encountered: