Plex Notify - 401 Unauthorized

All your suggestions, requests and ideas for future development
Post Reply
Reneg
Posts: 36
Joined: 04 Jan 2012, 20:32

Plex Notify - 401 Unauthorized

Post by Reneg »

Im not sure if it is a bug or something wrong on my config, but when filebot try to force the library upgrade it returns the following error:

401 Unauthorized

Maybe it is something linked to the plex token.

( I am using the last portable version )

Thanks
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Notify - 401 Unauthorized

Post by rednoah »

If you get 401 Unauthorized then FileBot has sent a request to Plex and Plex sent back a NOPE! so you need to go to the Plex wiki/forums and see how to fix that, and then tell us how you fixed it. ;)
:idea: Please read the FAQ and How to Request Help.
Reneg
Posts: 36
Joined: 04 Jan 2012, 20:32

Re: Plex Notify - 401 Unauthorized

Post by Reneg »

Hello,

At last i found that we have to send a personal token to request the refresh:

Code: Select all

http://PLEX-SERVER-IP:32400/library/sections/all/refresh?X-Plex-Token=INSERT_THE_TOKEN_HERE
The personal token can be found by accessing the XML from the plex UI

Image

I was using an old cli command where no token were needed and reading "again" the documentation i can see that filebot already have the way to pass the token for the query

Filebot string:

Code: Select all

 --def plex=host[:token]
Muddro
Posts: 33
Joined: 22 Mar 2014, 21:38

Re: Plex Notify - 401 Unauthorized

Post by Muddro »

Reneg wrote:Hello,

At last i found that we have to send a personal token to request the refresh:

Code: Select all

http://PLEX-SERVER-IP:32400/library/sections/all/refresh?X-Plex-Token=INSERT_THE_TOKEN_HERE
The personal token can be found by accessing the XML from the plex UI

Image

I was using an old cli command where no token were needed and reading "again" the documentation i can see that filebot already have the way to pass the token for the query

Filebot string:

Code: Select all

 --def plex=host[:token]
Just had this problem and just to be clear, you dont need to put that whole string in the plex tag (ie, plex=192.168.1.2:32400/library/sections/all/refresh?X-Plex-Token=INSERT_THE_TOKEN_HERE) you just need to put in plex=192.168.1.2:Token.

I know its clear above, but I am an idiot who put the whole thing, so figured someone else might waste time doing it as well.

Thanks for finding the fix
SuperDOS
Posts: 33
Joined: 20 Mar 2013, 23:34

Re: Plex Notify - 401 Unauthorized

Post by SuperDOS »

thanks for this, just ran into this trouble :D
Post Reply