gempir / gempbot

https://bot.gempir.com
MIT License
7 stars 3 forks source link

Adding 7TV emotes unexpected status: 403 #33

Closed badoge closed 1 year ago

badoge commented 1 year ago

Bot has been failing to add 7TV emotes for a while now

⚠ ️ Failed to add 7tv emote from @... response error for https://api.7tv.app/v2/gql: unexpected status: 403

gempir commented 1 year ago

Hmm how recent was this?

I just tested it and it seems to work fine image

gempir commented 1 year ago

Although I see sometimes in other chats it does seem to fail but with a different error

image

That error means it can't find the emote somehow. Weird.

gempir commented 1 year ago

I think I mostly fixed the error I listed.

Sometimes we just fail to fetch emotes to announce them in chat, but that's not critical. https://github.com/gempir/gempbot/commit/4e394db10b0c9fcdc857d97768908e27d27c8585

I can't really debug your error without further context. How to reproduce? What chat did it happen in? What time did it happen?

badoge commented 1 year ago

https://logs.ivr.fi/?channel=nam______________________&username=gempbot

gempir commented 1 year ago

ERROR: 704620 No Space Available: This set does not have enough slots

Manually doing it:

image

:shrug: You gotta check with 7tv

badoge commented 1 year ago

The problem was very dank 1 i'll post how i fixed it here incase someone gets the same issue

I first had to unlink discord from https://next.7tv.app because it was using a different emote set than twitch and taking up more slots than the limit

Then I had to find and remove a deleted emote that only showed up on https://next.7tv.app so adding from the old site you would see that you have an empty slot but it was actually taken up by a deleted emote