AnandChowdhary / bookshelf-action

📚 Track your reading using GitHub Actions
https://anandchowdhary.github.io/book-tracker/
MIT License
67 stars 16 forks source link

New book GitHub Action failure: Response code 429 (Too Many Requests) #131

Open ciwchris opened 2 months ago

ciwchris commented 2 months ago

On August 24th when I created a new GitHub issue to begin reading a book the "Bookshelf Action: New Issue " Action worked. When I created new GitHub issues for two other books on August 25th and 29th both "Bookshelf Action: New Issue " Actions resulted in the response back of "I couldn't find details about this book using the Google Books API." When looking at the log of the GitHub Action I see the error:

HTTPError: Response code 429 (Too Many Requests) at Request. (/home/runner/work/_actions/AnandChowdhary/bookshelf-action/HEAD/node_modules/got/dist/source/as-promise/index.js:118:1) at processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'ERR_NON_2XX_3XX_RESPONSE',

When I closed these issues after reading the books the "Bookshelf Action: Close Issue" Action ran but not the "pages-build-deployment" Action. I imagine this is related to the first issue.

AnandChowdhary commented 2 months ago

That's annoying, sorry about that! Do you remember if it was because you added many books in a short time so it's actually a rate limit issue, or do you think it's unrelated?

ciwchris commented 1 month ago

It was the first book I added that day. I did close a book just prior. But then 4 days later when I added the next book it failed with the same issue, and it was the only action that day.

However, I just added a book today and it succeeded. So :shrug: . I assume there's probably nothing for you to look into then and that this can be closed. Thanks for your reply.

ciwchris commented 1 month ago

Hmm, it just occurred again. I closed one issue and the "Close Issue" ran. Then I added a new issue and the "New Issue" Action ran and failed with a 429. No other Actions have run in almost 3 weeks. Strange