I am trying to deploy an app that used to go to shinyapps.io. When I do that I get:
Error in POST():
! https://api.shinyapps.io/v1/applications/4046623/deploy failed with HTTP status 409
Unable to deploy application=4046623: migrated content cannot be restored.
Backtrace:
▆
Because I still point it to shinyapps.io... The IA agent of Posit Cloud Connect says that I need to get my contentID but it is not publish that data in my admin panel. I don't know what to do. The url of my app is:
But there is not my contentID. I would really appreciate your help. Thank you!
There is a way to update the deployment record so this will start deploying to Connect Cloud correctly. We are working on adding this instructions into the UI, but for now they are available in the documentation.
If you run this, then try again, it should go to the right place.
Thank you... I could migrate from R yes. I got this:
Opening login page - confirm the code entered matches the code: GRBW-JBQZ. Registered account. Migration complete: next deploy of /path/to/app/ targets Connect Cloud content "###############".
But now when I run my deploy script:
rsconnect::deployApp(appDir = "path/to/app",
appFiles = NULL, appPrimaryDoc = NULL, appSourceDoc = NULL,
appName = NULL, contentCategory = NULL, account = NULL,
server = NULL, upload = TRUE)
I got:
── Preparing for deployment ──────────────────────────────────────────────────────── This is rsconnect 1.11.0 Re-deploying "ith_salta" using "server: connect.posit.cloud / username: Gonzalo1985" Looking up content with id "########################"... Found content Updating content...
Error in mapply(FUN = f, ..., SIMPLIFY = FALSE) :
zero-length inputs cannot be mixed with those of non-zero length
Ah, looks like you have run into a bug that we just fixed in rsconnect. Its not in the most recent version available in CRAN but will be in the next release. In the meantime, you could install from github (the main branch).
sorry about that, we are planning to release the new version as soon as we can.