quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.61k stars 294 forks source link

Quarto Pub 401 authentication error #1876

Closed carobuck closed 1 year ago

carobuck commented 1 year ago

Get this error: "ERROR: API Error: 401 (Unauthorized)" (despite being successfully logged in to quartopub.com in default browser) when attempting to publish a single .qmd via CLI as follows: quarto publish quarto-pub filename.qmd

Need better documentation for how to (force) authentication if it doesn't work automatically.

jjallaire commented 1 year ago

Thanks for reporting this, in v1.1 we should now be automatically prompting for re-auth here: https://github.com/quarto-dev/quarto-cli/commit/49b5046ff8be6ff60d1b8043245dacad36e31151