Noblox.getFriendRequests() missing permissions; error 401

Hey there!

So I’m checking for a list of my friend requests using noblox.js, but suddenly it keeps saying I’m missing permission

all relevant script is the following:

            noblox.setCookie(Cookie, true)
            noblox.getIdFromUsername(split)
                .then(async (id) => {
                    robloxuserid = id
                    await channel.send("Succesfully found your roblox account, verifying...")
                })
                .catch(async (err) => {
                    await channel.send("This username does not exist, please try a different username.")
                })
            let freq = await noblox.getFriendRequests(undefined, 100)

Let me know if you foun anything that’s wrong, thanks!

I might have found the error, the noblox you’re referencing might be with a uppercase N.

Try changing this

const Noblox = require( 'noblox.js' );

noblox.setCookie(Cookie, true)...

To this

const noblox = require( 'noblox.js' );

noblox.setCookie(Cookie, true)...

Let me know if it works or it still gives an error, make sure you also get your friend requests because you can only get yours.
At the end of the day, a ‘bot’ is a user account, it cannot magically bypass privacy restrictions or group permissions.