deployApp() error. HTTP 400 POST https://api.shinyapps.io/v1/applications/ bad checksum

This is my first attempt to upload an Rshiny app to shinyapps.io.
As a test, I am trying to deploy a simple shinyapp example with ui.R and server.R code downloaded from https://docs.rstudio.com/shinyapps.io/getting-started.html. However, I can not get it to deploy.

The shiny related packages that I am running are as follows:
shiny_1.1.0 rsconnect_0.8.12

I think I am able to successfully configure my connection using “Tools - Global Options – Publishing”

But, when I try to deploy the app using the icon in the top right, I get the following:

----- Deployment log started at 2019-01-16 11:24:57 -----
Deploy command:
rsconnect::deployApp(appDir = "~/Dropbox/TWS forests and bats/Survival analysis/TexasMVelifer/Version2/TestShiny", appFileManifest = "/tmp/9393-67ae-0a01-5a5c", account = "fletcher", server = "shinyapps.io", appName = "TestShiny", appTitle = "TestShiny", launch.browser = function(url) { message("Deployment completed: ", url) }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE), logLevel = "verbose")

Session information:
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.5 LTS

Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0

locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
[5] LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8
[7] LC_PAPER=en_CA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.4.4 rsconnect_0.8.12
Cookies:
[1] "None"
GET /v1/applications/?filter=account_id:180905&filter=name:TestShiny&count=100&offset=0 357ms
POST /v1/applications/ 345ms
----- Deployment error -----
Error: HTTP 400
POST https://api.shinyapps.io/v1/applications/
bad checksum

----- Error stack trace -----
8: stop("HTTP ", response$status, "\n", response$req$method, " ",
response$req$protocol, "://", response$req$host, response$req$port,
response$req$path, "\n", msg, call. = FALSE)
7: reportError(json$error)
6: handleResponse(POST_JSON(service, authInfo, "/applications/",
json))
5: client$createApplication(target$appName, target$appTitle, "shiny",
accountInfo$accountId)
4: applicationForTarget(client, accountDetails, target, forceUpdate)
3: force(code)
2: withStatus(paste0("Preparing to deploy ", assetTypeName), {
application <- applicationForTarget(client, accountDetails,
target, forceUpdate)
})
1: rsconnect::deployApp(appDir = "~/Dropbox/TWS forests and bats/Survival analysis/TexasMVelifer/Version2/TestShiny",
appFileManifest = "/tmp/9393-67ae-0a01-5a5c", account = "fletcher",
server = "shinyapps.io", appName = "TestShiny", appTitle = "TestShiny",
launch.browser = function(url) {
message("Deployment completed: ", url)
}, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE),
logLevel = "verbose")
Error: HTTP 400
POST https://api.shinyapps.io/v1/applications/
bad checksum
Execution halted

The strange thing is that I think when I first tried to upload an Rshiny app that I had created, that I was able to connect, but could not deploy the app only because of a compiling error. I am worried that the problem arose because I tried to connect with an updated Token/Secret.

Any advice would be much appreciated.
Thanks in advance.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.