noblox / noblox.js

A Node.js API wrapper for Roblox.
https://noblox.js.org
MIT License
246 stars 139 forks source link

[BUG] Failed To Validate Cookie #251

Closed gameplayoffert closed 3 years ago

gameplayoffert commented 3 years ago

hi, i have installed "noblox.js" but he said to me "Failed To Validate Cookie". My code :

const rbx = require("noblox.js")

async function startApp () {
    await rbx.setCookie("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_B583 // Code Continue But It's Private")
    // Do everything else, calling functions and the like.
    let currentUser = await rbx.getCurrentUser()
}

startApp();

suufi commented 3 years ago

I'm currently logging in just fine. Are you sure you don't have something like \n at the end of your cookie?

suufi commented 3 years ago

Closed to inactivity.