#Invalid plex token

1 messages · Page 1 of 1 (latest)

subtle pike
#

Hey guys I keep getting a "Plex Error: Plex token is invalid" error. I've tried the token manually (http://192.168.0.10:32400/?X-Plex-Token=XXXXX and it absolutely works. I've tried with SSL and without and I've tried replacing IP with localhost etc and nothing seems to work.
Any ideas what might be happening here?

eternal falconBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

Including the meta.log from the beginning is a huge help use !logs for more information.

chrome zephyr
#

where did you take the token from?

subtle pike
#

Used a guide, pulled it from the XML

#

The strange thing is it works otherwise just not with plexapi looks like

#

Using the AUR version of plexmediaserver if that helps

chrome zephyr
#

Do Not Use the Plex Token found in Plex’s Preferences.xml file
thats what our guide explicitly says.

wanton python
#

If it was from a media item within your library, it should work.

Your other option is to do a sign-out and sign-in to reset your token

subtle pike
#

No sorry it's not from prefs.xml

#

its media item, get info, then view xml

wanton python
#

Alternatively try navigating to an XML via your server URL (i.e. not app.plex.tv)

#

see if you get the same token (you should I think)

subtle pike
#

interesting, i'll check now

wanton python
#

Ultimately we are just making the call, if Plex is refusing the token then there is little we can do about that other than suggest getting a new token

chrome zephyr
#

yarp

subtle pike
#

yep same token on plex.tv and local version

#

I'll just make a new token and try that

#

very strange stuff

wanton python
#

Plex token is invalid means that it is at least successfully making the connection

#

So your IP and port is correct etc, there is a different error if it's SSL related, so it isn't that either

#

But glad to see you've actually tried some basic troubleshooting 👍

subtle pike
#

Appreciate it lads. I'll keep playing around and let you know what worked

wanton python
#

Can you let me know if this link works:

https://discover.provider.plex.tv/hubs/sections/home?X-Plex-Token=TOKEN

subtle pike
#

ok I'll check sec

wanton python
#

and this:
http://192.168.0.10:32400/library/sections?X-Plex-Token=TOKEN

chrome zephyr
#

just to make sure, you have this in the config.yml

plex:
  url: http://10.10.10.250:32400
  token: abncbfdsjfjskdf

and not something like

token: X-Plex-Token=abncbfdsjfjskdf

subtle pike
#

yep thats what I have

#

spook the first one didn't work the second one did

#

output is strange it just lists mounted libraries

wanton python
#

yeah that's what I expected from the second one

#

Try:
192.168.0.10:32400/library/sections/SECTIONID/all?X-Plex-Token=TOKEN

replacing TOKEN and also SECTIONID with one of the ID's from the second URL I had you try which listed all the libraries

#

Ideally do it on one of your smaller libraries 😄

subtle pike
#

aahah not the 16tb drive then 😄

wanton python
#

lol!

subtle pike
#

yea that definitely worked

wanton python
#

Hm odd...

#

I'm not sure what to suggest other than trying another token

subtle pike
#

yea and if that dosn't work I might get rid of this plex and set up a server using docker

#

thanks for the help though

wanton python
#

Let us know how you get on

eternal falconBOT
#

This post has been marked as Resolved and will be closed in one hour.

If you require further assistance on this issue, you can send another message in this post to re-open it.

If you require further support that is unrelated to this post, please start a new post and do not re-open this one.

Thanks for using Plex Meta Manager.