My plumber API cannot be deployed to Posit Connect. During our last deployment to Rstudio connect, everything went well. However, after your company updated, we were unnable to publish it encountering the error "This type of content is not allowed because it is prohibited by policy".
reproducible example:
library(plumber)
#* @apiTitle Plumber Example API
#* @apiDescription Plumber example description.
#* Echo back the input
#* @param msg The message to echo
#* @get /echo
function(msg = "") {
list(msg = paste0("The message is: '", msg, "'"))
}
my operations:
rstudio -> publish api -> publish ->error
error log:
Error: HTTP 403
POST https://beta.rstudioconnect.com/__api__/applications/25571/deploy
This type of content is not allowed because it is prohibited by policy.