Open
Description
Description
Whenever I respond to an interaction URL request with a defer, it goes through as normal, and Discord says that the "Application is thinking". However at random occurrence, whenever I wish to reply with /webhooks/:app_id/:followup_token
, it would tell me that the webhook is not there (404
). After making my script retry for 2-3 times in a span of ~10 seconds, it finally registers that it can reply and gets a HTTP 200 request.
Steps to Reproduce
- Use Interaction URL and not traditional websocket
- Reply to Discord's webhook request with following JSON
{
"type": 5,
"data": { "flags": 0 }
}
- Attempt to send a followup to
/webhooks/:app_id/:followup_token
with something as simple as{"content": "Hello world"}
- Wait to see if that one moment you attempt, has the random occurance of not allowing you to reply (While testing before submitting this issue, I get it every 10'ish minutes)
Expected Behavior
Being able to reply to a defer instantly as shown here
Current Behavior
Random chance to return HTTP 404 until a few seconds has passed and Discord API finally lets you reply to the followup token.
Screenshots/Videos
They are provided above
Client and System Information
Library: discord.http (Python, Quart, aiohttp)
OS: Windows 11 Pro