Glitch project won't stop erroring on a API


Yesterday, I was working on some embed command for my Discord bot which then I added color option that started to cause issues.

I re-winded the project today the day before I tried to make the embed project.

Even so, the DiscordAPIError won’t stop coming up.
If anyone don’t mind can they help me fix this error?

I tried removing 99% of my code leaving only
const Discord = require(“discord.js”);
const client = new Discord.Client();
and the bot still won’t start


Let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.


How do I direct message you a link


If you click on my name you might see an option to send me a message. But if you’re new, you might not see it yet. In that case, mail it to me at



Also how do I make my glitch project private because I’ve been making random string letters to protect my project


You can make your project’s code private by opening the top-left Project Info menu and then clicking on the lock icon.


client.login() was the cause. I’ve added a catch to output the error without breaking your project. The underlying issue looks like it might be related to One of the Glitch IPs is banned by Discord


So the Glitch project will switch IPs?