omdb response error code 401

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

omdb response error code 401

Post by peymanch »

hi
omdb server response error code: 401

Code: Select all

 
Fetch failed: Try again in 5 seconds (2 more) => java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
Fetch failed: Try again in 10 seconds (1 more) => java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
Fetch failed: http://www.omdbapi.com/?s=zodiac
java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$withPermit$16(CachedResource.java:276)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.OMDbClient.request(OMDbClient.java:131)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:78)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:67)
        at net.filebot.media.MediaDetection.queryMovieByFileName(MediaDetection.java:933)
        at net.filebot.media.MediaDetection.detectMovie(MediaDetection.java:644)
        at net.filebot.ui.rename.MovieMatcher.lambda$null$2(MovieMatcher.java:173)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
        ... 15 more

IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:931)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.ui.rename.MovieMatcher.match(MovieMatcher.java:179)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:916)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:912)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$withPermit$16(CachedResource.java:276)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.OMDbClient.request(OMDbClient.java:131)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:78)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:67)
        at net.filebot.media.MediaDetection.queryMovieByFileName(MediaDetection.java:933)
        at net.filebot.media.MediaDetection.detectMovie(MediaDetection.java:644)
        at net.filebot.ui.rename.MovieMatcher.lambda$null$2(MovieMatcher.java:173)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
        ... 15 more


please help me
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

OMDb is broken for FileBot 4.7.9 and earlier. Please use TheMovieDB instead.

@see viewtopic.php?f=6&t=5057
:idea: Please read the FAQ and How to Request Help.
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

i want use omdb database
is this correct in version 4.7.10?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

Using OMDb is not recommended. 4.7.10 may work, but is only available as pre-release on the Windows Store at this point.
:idea: Please read the FAQ and How to Request Help.
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

TheMovieDB is very incomplete database cast or rating movie
i want imdb database
please think that
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

OMDb is not IMDb. TheMovieDB search and lookup is significantly more reliable than OMDb and FileBot also has a few internal tweaks specifically for TheTVDB / TheMovieDB that make things work better in certain corner cases.

OMDb might be good as a backup if a movie hasn't yet been added to TheMovieDB. I'd recommend adding the missing data to TheMovieDB, if you do find something missing. I find TheMovieDB quite complete, but we may have tested with different movies.
:idea: Please read the FAQ and How to Request Help.
scriptoo
Posts: 6
Joined: 24 Feb 2017, 18:20

Re: omdb response error code 401

Post by scriptoo »

Please continue with the work on IMDB/OMDB please.
The ratings are much more reliable than TMDB ones.

Thanks for your work!
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: omdb response error code 401

Post by kim »

peymanch wrote: 14 Jun 2017, 11:14 TheMovieDB is very incomplete database cast or rating movie
i want imdb database
please think that
Filebot only write cast to the nfo IF the actor has a role, so update the movies you find missing this.
ChefGregS
Posts: 99
Joined: 30 Mar 2016, 11:14

Re: omdb response error code 401

Post by ChefGregS »

OMDB has gone private...and apparently the Filebot key no longer works. That's what THEY say anyway. That said, I have to agree that OMDB is WAY more reliable than TMDB on MANY movies. I use both but mostly TMDB. There are many movies though that TMDB does NOT show date, rating, and time. When that happens (before OMDB stopped working) I would check OMDB. It ALWAYS gave all the info I use in my naming: Name (year, rating, running time) (Actors x3) (Genre x3). I hope the issue with OMDB will be fixed... LOVE it!!!
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

If it's just a matter of missing information, then I recommend creating a TheMovieDB account and adding the missing information.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: omdb response error code 401

Post by ZeroByDivide »

ChefGregS wrote: 26 Jul 2017, 06:59 OMDB has gone private...and apparently the Filebot key no longer works. That's what THEY say anyway. That said, I have to agree that OMDB is WAY more reliable than TMDB on MANY movies. I use both but mostly TMDB. There are many movies though that TMDB does NOT show date, rating, and time. When that happens (before OMDB stopped working) I would check OMDB. It ALWAYS gave all the info I use in my naming: Name (year, rating, running time) (Actors x3) (Genre x3). I hope the issue with OMDB will be fixed... LOVE it!!!
Filebot omdb key is working just fine on my end, so if you are having issues with omdb then it's something only on your end making it not work.
ChefGregS
Posts: 99
Joined: 30 Mar 2016, 11:14

Re: omdb response error code 401

Post by ChefGregS »

ZeroByDivide wrote: 26 Jul 2017, 19:10
Filebot omdb key is working just fine on my end, so if you are having issues with omdb then it's something only on your end making it not work.
Well, I have changed NOTHING on my end. It worked, then it didn't work. The day it stopped working I saw that they went private and changed their keys. Great that it's working for you, but as posted, I am not the only one having issues with it. It is (regardless of what a few say) way better than TMDB with MANY movies..especially older or off-beat movies. In MANY cases TMDB doesn't give all the information that I use when naming my movies. OMDB almost always does. As for ADDING the information on TMDB...I have done that many times. Same with thetvdb. I have fixed MANY series on there that were so far wrong the person that put the info up should have been beat!!! LOL

Anyway, this issue is still happening. I have uninstalled and re-installed and still it doesn't work. And again, started at the same time they went private. So simply asking the creators if they have any insight into this. Thanks,

- Greg
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

Hi
Can i use my omdbapi key in filebot to use omdb??
Please help me what should i do?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

It should work out of the box with any of the newer releases. What version of FileBot are you using?
:idea: Please read the FAQ and How to Request Help.
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

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

Re: omdb response error code 401

Post by rednoah »

Sorry, there's no easy fix for that release, other than upgrading to the latest release.
:idea: Please read the FAQ and How to Request Help.
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

please give me download link of last release program
my version is 4.7.9 and didnot found newer than
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

What operating system are you using? Please run filebot -script fn:sysinfo and post the output.
:idea: Please read the FAQ and How to Request Help.
peymanch
Posts: 55
Joined: 22 Jan 2017, 12:19

Re: omdb response error code 401

Post by peymanch »

Code: Select all

FileBot 4.7.9 (
JNA Native: 5.1
MediaInfo: 0.7.
7-Zip-JBinding:
Chromaprint: 1.
Extended Attrib
Unicode Filesys
Script Bundle:
Groovy: 2.4.10
JRE: Java(TM) S
JVM: 64-bit Jav
CPU/MEM: 8 Core
OS: Windows 10
Package: MSI
Done ?(?????)?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: omdb response error code 401

Post by rednoah »

Thanks. You'll need to purchase FileBot on the Microsoft Store:
https://www.microsoft.com/en-us/store/p ... blggh52t9x
:idea: Please read the FAQ and How to Request Help.
Post Reply