#oauth forbidden

1 messages · Page 1 of 1 (latest)

undone sail
#

@timber tartan

#

So, just re explain what ur trying to do

timber tartan
#

Thank you @undone sail

#

I am trying to have the user authorize and automatically join a guild using guilds.join. eveyrthing seems correct in my code but when I make make the request:

 fetch(`https://discord.com/api/guilds/920007970564222987/members/${id}?access_token=${access_token}`, { 
          method: 'PUT',
          headers: {
            "Authorization": `Bot ${botToken}`,
            "ContentType": 'application/json',
           
    
        }``` it returns 403: Forbidden