mvdicarlo / postybirb-plus

Remake of PostyBirb using React and NestJS
BSD 3-Clause "New" or "Revised" License
82 stars 22 forks source link

Itaku: Long tags cause an Error 400 (Unknown Error) #342

Open argonvile opened 1 week ago

argonvile commented 1 week ago

When uploading an image with the tag "dr._strangelove_or:_how_i_learned_to_stop_worrying_and_love_the_bomb", itaku threw an Error 400 (Unknown Error). The log is attached below.

1719776462405_gimmi-gimmi-gimmi-your-love-1.log

This tag is supported by other sites such as e621. When uploading the image to Itaku manually, it shortened the tag to dr._strangelove_or:_how_i_learned_to_stop_worrying_and_love_. Presumably PostyBirb should truncate any Itaku tags to this 60-character limit before sending them.

mvdicarlo commented 1 week ago

Interesting. Def will fix that this week. Not sure if it will be best to just remove the tag at that length and provide a warning or truncate manually. I don't imagine many tags are beyond 60 characters.