quarto-dev / quarto-cli

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

ERROR: API ERROR: 429 - Too Many Requests #6624

Closed RadicalResearchLLC closed 1 year ago

RadicalResearchLLC commented 1 year ago

Bug description

Basically, I am experience the same issue as the one reported in https://github.com/quarto-dev/quarto-cli/issues/1577 and https://github.com/quarto-dev/quarto-cli/issues/6014

The complete error message I had is shown below.

C:\Dev\testQuarto\testQuarto>quarto publish quarto-pub ? Publish with account (Y/n) » No ? Authorize (Y/n) » Yes ? Publish with name 'testquarto'? (Y/n) » Yes

[>] Creating quarto-pub document ERROR: API Error: 429 - Too Many Requests

Error: API Error: 429 - Too Many Requests at QuartoPubClient.createSite (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:111363:23) at async file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:108988:26 at async withSpinner (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:56614:9) at async handlePublish (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:108985:9) at async publishDocument (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121352:38) at async publish5 (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121448:132) at async doPublish (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121404:13) at async publishAction (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121440:13) at async Command.fn (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121392:9) at async Command.execute (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:8437:13)

Steps to reproduce

  1. I use quarto create-project testQuarto --type website to create a quarto website project.
  2. Then, I CD testQuarto, and run quarto publish quarto-pub.

Expected behavior

I should get the example website published on quartopub.com, see oatsite example from previous error - the rendered files work locally.

Actual behavior

I get the same error as has been seen in previous examples.

[>] Creating quarto-pub document ERROR: API Error: 429 - Too Many Requests

Error: API Error: 429 - Too Many Requests at QuartoPubClient.createSite (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:111363:23) at async file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:108988:26 at async withSpinner (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:56614:9) at async handlePublish (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:108985:9) at async publishDocument (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121352:38) at async publish5 (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121448:132) at async doPublish (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121404:13) at async publishAction (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121440:13) at async Command.fn (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:121392:9) at async Command.execute (file:///C:/Users/MichaelMcCarthy/AppData/Local/Programs/Quarto/bin/quarto.js:8437:13)

Your environment

RStudio 2023.06.1+524 "Mountain Hydrangea" R 4.3.1 'Beagle Scouts' Windows 11 - Version 10.0.22621 Build 22621

Quarto check output

C:\Dev\testQuarto\testQuarto>quarto check

[>] Checking versions of quarto binary dependencies... Pandoc version 3.1.1: OK Dart Sass version 1.55.0: OK [>] Checking versions of quarto dependencies......OK [>] Checking Quarto installation......OK Version: 1.3.450 Path: C:\Users\MichaelMcCarthy\AppData\Local\Programs\Quarto\bin CodePage: 1252

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK Version: 3.11.5 Path: C:/Users/MichaelMcCarthy/AppData/Local/Programs/Python/Python311/python.exe Jupyter: (None)

  Jupyter is not available in this Python installation.
  Install with py -m pip install jupyter

[>] Checking R installation...........OK Version: 4.3.1 Path: C:/PROGRA~1/R/R-43~1.1 LibPaths:

[>] Checking Knitr engine render......OK

racing-focus commented 1 year ago

I tried this today for the first time and received the same error.

mcanouil commented 1 year ago

This is not an issue with Quarto CLI but with Quarto Pub host.

lervin1 commented 1 year ago

I did this, and now it says my site cannot be found. Does anyone know how to fix this?

mcanouil commented 1 year ago

There is nothing you can do beside waiting for this to be fixed on Quarto Pub side.

Also, I don't know what you mean by "I did this".

softwarenerd commented 1 year ago

Hi,

We are still investigating the issue. The problem is occurring in one of the services we use to host Quarto Pub, and we are working with the vendor on a resolution for the issue.

Best,

Brian

softwarenerd commented 1 year ago

Hello. The Quarto Pub service is available again. Please try again let us know if you are able to successfully publish.

racing-focus commented 1 year ago

I was able to publish, thank you.

mcanouil commented 1 year ago

Thanks for confirming! Closing now.

RadicalResearchLLC commented 1 year ago

It also worked for me. Thank you!

ezraschwartzMD commented 11 months ago

Opening this conversation again. Trying to publish a quarto book project under a different quarto pub account, receiving the "ERROR: API Error: 429 (Too Many Requests)" error.

Any advice?

mcanouil commented 11 months ago

No need to post everywhere.

ezraschwartzMD commented 11 months ago

2 Chats. This one was closed, saw another was opened yesterday and posted there. Would appreciate your advice.