Shards Error

The Console Is loading Two Times And When i Used Some Command Like "$ping" Bot Is Replying Two Times And My Console Getting An Error Like
[ AntiCrashDetection ]:- Unhandled Rejection/Catch
Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 429,
timingInfo: {
startTime: 3201.5087999999523,
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 3201.5087999999523,
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 92,
decodedBodySize: 92,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'Too Many Requests',
headersList: HeadersList {
cookies: [Array],
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
},
urlList: [ [URL] ],
body: { stream: undefined }
},
[Symbol(headers)]: HeadersList {
cookies: [
'__dcfduid=81587b841b1b11eeb9a73e76673ec65e; Expires=Mon, 03-Jul-2028 10:05:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__sdcfduid=81587b841b1b11eeb9a73e76673ec65e2152bf1b591ca51070e4dd0f8322114667b0f7fe83f5d6f8723c3c6de21c27c5; Expires=Mon, 03-Jul-2028 10:05:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__cfruid=a354f8906f8f11e819e787b6cd91af4a1c2bf004-1688551544; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None'
],

[ AntiCrashDetection ]:- Unhandled Rejection/Catch
Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 429,
timingInfo: {
startTime: 3201.5087999999523,
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 3201.5087999999523,
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 92,
decodedBodySize: 92,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'Too Many Requests',
headersList: HeadersList {
cookies: [Array],
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
},
urlList: [ [URL] ],
body: { stream: undefined }
},
[Symbol(headers)]: HeadersList {
cookies: [
'__dcfduid=81587b841b1b11eeb9a73e76673ec65e; Expires=Mon, 03-Jul-2028 10:05:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__sdcfduid=81587b841b1b11eeb9a73e76673ec65e2152bf1b591ca51070e4dd0f8322114667b0f7fe83f5d6f8723c3c6de21c27c5; Expires=Mon, 03-Jul-2028 10:05:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__cfruid=a354f8906f8f11e819e787b6cd91af4a1c2bf004-1688551544; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None'
],

5 Replies
d.js toolkit
d.js toolkit12mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
treble/luna
treble/luna12mo ago
You're entering a loop somewhere and getting ratelimited
Professor
Professor12mo ago
now what should i do
treble/luna
treble/luna12mo ago
look where you enter that loop
Professor
Professor12mo ago
hey i created a new file shard.js and run "node shard.js" command in console now it works fine