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

Error deploying when CONNECT_API_KEY is set

Open mmarchetti opened this issue 1 year ago • 1 comments

In rsconnect-python 1.20, deploying from the command line with

rsconnect deploy fastapi -s $SERVER_URL -k $MY_API_KEY ...

fails if CONNECT_API_KEY is set in the environment. The same deployment works with a saved server (same API key):

rsconnect add -s $SERVER_URL -k $MY_API_KEY -n my-server
rsconnect deploy fastapi -n my-server ...

mmarchetti avatar Jan 09 '24 17:01 mmarchetti

Tested again on 1.24.0 and I can't reproduce the problem. It may have been resolved with the changes in #518.

mmarchetti avatar Sep 25 '24 15:09 mmarchetti