'As I am trying to finish my discord music bot I get an error that I couldn't find out what is wrong

When I try to load slash commands to index.js I get an error I tried to find out whats wrong but I couldn't. I am calling help you can find my codes in here.

PS C:\Users\MONSTER\Desktop\Rayman Music> node index.js load
Deploying slash commands
DiscordAPIError[50001]: Missing Access
    at SequentialHandler.runRequest (C:\Users\MONSTER\Desktop\Rayman Music\node_modules\@discordjs\rest\dist\index.js:708:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.queueRequest (C:\Users\MONSTER\Desktop\Rayman Music\node_modules\@discordjs\rest\dist\index.js:511:14) {
  rawError: { message: 'Missing Access', code: 50001 },
  code: 50001,
  status: 403,
  method: 'put',
  url: 'https://discord.com/api/v9/applications/849610614481223690/guilds/846815966540857375/commands',
  requestBody: {
    files: undefined,
    json: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object]
    ]
  }
}

Can anybody help me please



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source