rsconnect-python icon indicating copy to clipboard operation
rsconnect-python copied to clipboard

Message `Error: Unable to infer Connect server type and setup server` not very informative

Open wch opened this issue 2 years ago • 0 comments

For example:

$ rsconnect deploy shiny -n rstudioservices .
Error: Unable to infer Connect server type and setup server.

It turned out that I had added the the server without an API key, but it took me a good while to figure that out. It would save a lot of time if the error message said what the problem was, and how to fix it. (I ended up removing the server and adding it again, with the API key.)

wch avatar Mar 21 '23 19:03 wch