Page 1 of 1

Plex Notify - 401 Unauthorized

Posted: 01 May 2015, 11:32
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

Re: Plex Notify - 401 Unauthorized

Posted: 01 May 2015, 15:53
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. ;)

Re: Plex Notify - 401 Unauthorized

Posted: 05 May 2015, 11:35
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]

Re: Plex Notify - 401 Unauthorized

Posted: 10 Sep 2015, 03:28
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

Re: Plex Notify - 401 Unauthorized

Posted: 22 Aug 2016, 21:05
by SuperDOS
thanks for this, just ran into this trouble :D