#discord.errors.Forbidden 403 Forbidden (error code 50001) Missing Access

1 messages · Page 1 of 1 (latest)

kindred oar
#

Happened to my bot while switching to slash commands.

applications.commands scope already enabled, intents, tried resetting the token, etc.

Works fine on a template bot.

Does not happen with the same bot with a different bot token.

#

Happends when loading slash commands.
Removing all commands from the folder gives the same output

#

so the problem is in the main file

#

3 am pain...
ima go to sleep...

ruby parrot
#

Make sure your bot has the application.commands scope selected and reinvite it with that new link

hazy sand
#

It already has the correct scopes and it still won’t load

tribal dagger
#

I have a weird idea on what could be the problem: in the reload command you set the guild ids to a guild id in debug_guilds (see the bot define) and some other guild id
So maybe that other guild is causing the 403 forbidden error?

#

Besides that I have no other ideas

kindred oar
#

Ok so
Basically the problem fixed itself

#

I guess you just need to wait a while for it to work
Seems weird but now it works

kindred oar
#

well

#

update

#

Not fixed...

#

it now loads the commands sometimes
but every now and then it just refuses to work

#

So basically it loads all commands (i think)
and then it throws that error

kindred oar
tribal dagger
#

Hmmmm

kindred oar
#

ok so basically i tested this with another token from a bot that already works with slash commands

#

no error

#

i tried creating a new bot

#

no luck

#

The bots register the commands sometimes but the error still shows up

#

I wonder

#

is there a limit on how many commands you can add at once?

tribal dagger
#

Wait

#

There is

#

200 commands per day

kindred oar
#

yeah i'm not hitting that error

tribal dagger
#

Oh

#

Hmmmm

kindred oar
#

it's a different error code

#

but like at once

#

not per day

tribal dagger
#

Hm

#

Not that I know of

kindred oar
#

well

#

slash commands are fun

#

i already had to rewrite all commands to work with it

#

now i can't even load them sometimes

#

oh yeah also

#

when the commands actually load and are added to the server

#

when i run it

#

forgot to mention

#

we have 2 different bots with the exact same code in the server

#

would that affect it?

#

one works all the time
and the other one has this problem

kindred oar
#

ok so guess how i fixed it

#

my dumbass friend that was developing in this project too added this to all commands