reluce / szurubooru-toolkit

Python package and script collection to manage your szurubooru image board.
GNU General Public License v3.0
41 stars 11 forks source link

Cryptic error message when using an invalid API token #54

Closed shibaobun closed 6 months ago

shibaobun commented 6 months ago

Hello, I seem to be getting these error logs while trying to run the autotagger automatically in the docker container:

[INFO] Retrieving posts from https://szuru.bubbletea.dev with query " -deepbooru"...
[CRITICAL] [szurubooru.get_posts] Could not process your query: 'total'

Thank you!

shibaobun commented 6 months ago

Nvm this is my fault, I invalidated my token accidentally. It might be nice to add in a check for this though!

reluce commented 6 months ago

Thanks for the report, I pushed a quick fix to main which will be included in 1.0.1. Cheers!