Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Unknown Webhook when ApplicationID no equal UserID #17

Closed
yamikaitou opened this issue Jun 16, 2021 · 4 comments
Closed

Unknown Webhook when ApplicationID no equal UserID #17

yamikaitou opened this issue Jun 16, 2021 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@yamikaitou
Copy link

I've only messed with Buttons, but I consistently get Unknown Webhook on one bot. Someone else suggested that it is likely due to the Bot's UserID not being the same as the ApplicationID. In this case, that is true. The App was originally personal but was moved to a team, so that is likely when it changed. Maybe I'm missing something, I haven't fully explored everything yet

Jun 16 02:15:32 python[407319]: Traceback (most recent call last):
Jun 16 02:15:32 python[407319]:   File "/mnt/discord/red-data/scgc/cogs/CogManager/cogs/rps/rps.py", line 143, in on_rock
Jun 16 02:15:32 python[407319]:     await inter.reply(type=ResponseType.DeferredUpdateMessage)
Jun 16 02:15:32 python[407319]:   File "/mnt/discord/red-data/scgc/cogs/Downloader/lib/dislash/interactions/interaction.py", line 204, in reply
Jun 16 02:15:32 python[407319]:     return await self.fetch_initial_response()
Jun 16 02:15:32 python[407319]:   File "/mnt/discord/red-data/scgc/cogs/Downloader/lib/dislash/interactions/interaction.py", line 392, in fetch_initial_response
Jun 16 02:15:32 python[407319]:     data = await self._client.http.request(
Jun 16 02:15:32 python[407319]:   File "/home/red/envs/scgc/lib/python3.8/site-packages/discord/http.py", line 250, in request
Jun 16 02:15:32 python[407319]:     raise NotFound(r, data)
Jun 16 02:15:32 python[407319]: discord.errors.NotFound: 404 Not Found (error code: 10015): Unknown Webhook
@EQUENOS EQUENOS added bug Something isn't working good first issue Good for newcomers labels Jun 16, 2021
@EQUENOS
Copy link
Owner

EQUENOS commented Jun 16, 2021

Does your bot indeed have a different ID from application ID? Honestly, I didn't know this is possbile
I use client.user ID in all http-requests, so I see the issue now...
Tanks for reporting this, I'll fix this as soon as possible.

@EQUENOS EQUENOS closed this as completed Jun 16, 2021
@EQUENOS EQUENOS reopened this Jun 16, 2021
@yamikaitou
Copy link
Author

Yup, the IDs are indeed different
Screenshot_20210616-065029.png

@EQUENOS
Copy link
Owner

EQUENOS commented Jun 16, 2021

Upgrade to v1.0.17, this should be fixed now

@yamikaitou
Copy link
Author

Confirmed, it is working now. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants