R Studio Connect & Plumber API - Error: HTTP 404 GET: The requested object does not exist

Hi guys,

I'm having issue deploying a Plumber API to R Studio Connect. I've made sure the following steps are completed:

  1. I'm connected to the service
  2. I have my plumber.R and entrypoint.R files in the same directory
  3. I'm executing rsconnect::deployAPI(api = "dir path") in console

and then getting this error. I have no clue what I'm missing over here so any help would be appreciated. Thanks!

For this type of debugging it is easiest if you open a support ticket by emailing support@rstudio.com. Please include your deployment log, the version of RStudio Connect, the RStudio Connect configuration file, and any relevant logs.


Thanks @slopp, what do you mean by RStudio Connect configuration file?

The "RStudio Connect configuration file" is the file stored at /etc/rstudio-connect/rstudio-connect.gcfg, which is used to configure the entire RStudio Connect server.

It's also worth mentioning here that the preview release of the RStudio IDE (version 1.2.x) now has support for push-button publishing of Plumber APIs, which should help with some of the trickiness of using the rsconnect::deployXXX functions.