feelfeel2008
feelfeel2008
DIAdiscord.js - Imagine an app
Created by feelfeel2008 on 6/19/2024 in #djs-questions
DiscordAPIError[10062]
Hi everyone, I have a question about the DiscordAPIError[10062]. I understand this error is related to interaction timing out in my program, not resolving the interaction within 3 seconds. To mitigate this, I attempted to defer the reply to extend the interaction timeout to 15 minutes. However, when I send the deferred interaction and await it, the process breaks, possibly because the defer reply isn't sent fast enough (at least that's my theory). About a week ago, I switched to a local DNS server, but I suspect it's not configured correctly because my requests are unusually slow. Even when switching to public DNS servers like 1.1.1.1 or 8.8.8.8, the issue persists. Essentially, my question is whether the problem lies with my local setup or if there might be another underlying issue. i will list my code in the comments because of the character limit where I've added extensive logging statements to aid in debugging (yes, I'm aware it's not the best practice):
18 replies