Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployApp() error when user not yet 'connected' could be more informative #5

Closed
kevinushey opened this issue Oct 24, 2014 · 2 comments

Comments

@kevinushey
Copy link
Contributor

E.g.:

> rsconnect::deployApp(account = "admin")
Preparing to deploy application...
 Error: /__api__/applications/?filter=user_id:1&count=100&offset=0 500 - 
<h1>An error has occurred</h1>

<p id="message">sql: no rows in result set</p> 

with warning from the server:

2014/10/24 10:18:46 warning: attempt to use invalid auth token T6fe65a29515e8a7e9c861936ed0d9280

We should nudge the user towards using rsconnect::connectUser(...) in this case.

@frankandrobot
Copy link

If I'm understanding the "connected" language correctly (think it might have evolved), it looks like this might be resolved now. Here's what I get:

# before registring the server
> rsconnect::deployApp(account="uri", server="localhost")
Error: You must register an account using setAccountInfo prior to proceeding.

# after registering the server but not the account
> rsconnect::deployApp(account="test666", server="localhost")
Error: Unknown account name 'test666' (you can use the setAccountInfo function to add a new account)

@jmcphers
Copy link
Member

jmcphers commented Nov 7, 2019

Correct, this is now resolved.

@jmcphers jmcphers closed this as completed Nov 7, 2019
mslynch pushed a commit that referenced this issue Apr 28, 2023
If output is in trashed or archived state, set it to active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants