rsconnect to shinyapp.io

I'm trying to do my first upload of a flexdashboard file to shinyapps.io. When I enter

rsconnect::setAccountInfo(name='XX',

  • token='XX',
  • secret='')

in RStudio (having put in "XX" to hide the actual names) I get

Error: HTTP 401
GET https://api.shinyapps.io/v1/users/current/
bad signature

Any suggestions?

The issue turned out to be that I copied the text from shinyapp.io that contained the word "secret" rather than the version that substituted in the actual secret.

Obvious once you know the answer, but not a great design.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.