Last' Ysyyn
Last' Ysyyn
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
Magic
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
Hell it's working and now i'v changed floder and did same thing and it worked
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
@Az
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
MTIxMjkwMTk5OTg5Nzc0MzM4M***3J-WYWYBSozhPVfF5qstMYYss
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
sure
MTIxMjkwMTk5OTg5Nzc0MzM4M***3J-WYWYBSozhPVfF5qstMYYss
Error validating bot token: InvalidArgumentError: invalid Authorization header
at processHeaderValue (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:394:11)
at processHeader (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:478:31)
at new Request (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:192:9)
at [http1 build request] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:338:12)
at [dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/client.js:363:36)
at Intercept (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/interceptor/redirectInterceptor.js:11:16)
at [Intercepted Dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:158:12)
at Client.dispatch (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:179:40)
at [dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/pool-base.js:143:28)
at [Intercepted Dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:150:29) {
code: 'UND_ERR_INVALID_ARG'
}
MTIxMjkwMTk5OTg5Nzc0MzM4M***3J-WYWYBSozhPVfF5qstMYYss
Error validating bot token: InvalidArgumentError: invalid Authorization header
at processHeaderValue (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:394:11)
at processHeader (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:478:31)
at new Request (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:192:9)
at [http1 build request] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/core/request.js:338:12)
at [dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/client.js:363:36)
at Intercept (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/interceptor/redirectInterceptor.js:11:16)
at [Intercepted Dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:158:12)
at Client.dispatch (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:179:40)
at [dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/pool-base.js:143:28)
at [Intercepted Dispatch] (/root/rush/node_modules/@discordjs/rest/node_modules/undici/lib/dispatcher-base.js:150:29) {
code: 'UND_ERR_INVALID_ARG'
}
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
bruh..
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
i appolgize
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
@Jô 🌈🦄
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
i'm sorry
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
mr jo
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
okay
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
u kept on tos
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
botToken = await getToken(1);
console.log(botToken);

// Validate the bot token
clientForValidation = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
});


await clientForValidation.login(botToken);
clientForValidation.once(Events.ClientReady, readyClient => {
console.log(`Ready! Logged in as ${readyClient.user.tag}`);
});

botToken = await getToken(1);
console.log(botToken);

// Validate the bot token
clientForValidation = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
});


await clientForValidation.login(botToken);
clientForValidation.once(Events.ClientReady, readyClient => {
console.log(`Ready! Logged in as ${readyClient.user.tag}`);
});

46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
HAHAHHA bro it's a bug how lol
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
it's a same package.json of many floders in my freind's vps i'm just running mine okay?
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
Okay deleted them fine?
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
it is sir
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
so help please
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
by reporting bugs
46 replies
DIAdiscord.js - Imagine an app
Created by Last' Ysyyn on 3/8/2024 in #djs-questions
Error validating bot token: InvalidArgumentError: invalid Authorization header
ther's not causing the error i want to improve djs
46 replies