Missing - Invalid - Expired Session Cookie

If you're seeing the error message "Expired session cookie," "Missing cookie," or "Invalid cookie," it means that your session cookie has either expired or become invalid, and you will need to log back into your account to fix the issue. 

Get your cookies using PhantomBuster's browser extension 

To make your life a little bit easier, we've got a browser extension that will automatically retrieve your cookies for you. The extension will work for all Phantoms and social networks on our store, so you only have to install it once.

You can find it here for Chrome or here for Firefox, or click on the "Install extension" button in the banner at the top: 


Once you've done this, refresh the page of your Phantom's setup and you'll see a new "Connect to..." button:


Simply click it, and your cookie will populate the box automatically! It'll look something like this:


Get your cookies manually

This tutorial is written for Chrome users. Here's how to access your cookies with Firefox or Safari.

Open a new tab and go to the website which you want your cookies for. Right-click anywhere on the page and open "Inspect": 


Locate the "Application" tab. Then select "Cookies" > "http://www.websiteyoureafter.com". Locate the cookie you're looking for (so, for example, for LinkedIn you'll be looking for the "li_at" value):


Copy this and paste it back into the relevant field in your Phantom's setup.

The table below contains each social network's cookie name should you need to find them:

cookies names for each social network.png

You're all set!

Make sure not to manually log out of the site you've retrieved your cookie for, as this will cause it to expire, as well as not taking the necessary automation rate limits into account. 

If you find that yours are not working and are expiring too often, check out this article.


If you think this article does not address your issue, please contact Support directly. We are continuously improving, so your feedback means the world to us!



Was this article helpful?
0 out of 4 found this helpful