• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media Scanning & Identification Error in The Open Movie Database Response status code does not indicate success: 401

     
    • 0 Vote(s) - 0 Average

    Error in The Open Movie Database Response status code does not indicate success: 401

    Jellyfin: 10.10.7, OMDB 10.10.7.0
    mrp
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Aug
    Reputation: 0
    #1
    4 hours ago
    I'm getting a 401 Unauthorized from OMDB's API when trying to scan for new movies.  Can someone give me a sample url to try and see if there's some blocking on my end?

    Code:
    [2025-08-04 18:15:18.425 -04:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/movies/<moviename>.avi\" -threads 5 -v warning -print_format json -show_streams -show_chapters -show_format"
    [2025-08-04 18:15:19.520 -04:00] [ERR] Error in "The Open Movie Database"
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at System.Net.Http.Json.HttpClientJsonExtensions.<FromJsonAsyncCore>g__Core|12_0[TValue,TJsonOptions](HttpClient client, Task`1 responseTask, Boolean usingResponseHeadersRead, CancellationTokenSource linkedCTS, Func`4 deserializeMethod, TJsonOptions jsonOptions, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.EnsureItemInfo(String imdbId, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.GetRootObject(String imdbId, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.Fetch[T](MetadataResult`1 itemResult, String imdbId, String language, String country, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbItemProvider.GetResult[T](ItemLookupInfo info, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
    [2025-08-04 18:15:20.143 -04:00] [ERR] "OmdbImageProvider" failed in GetImageInfos for type "Movie" at "/mnt/movies/<moviename>.avi"
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at System.Net.Http.Json.HttpClientJsonExtensions.<FromJsonAsyncCore>g__Core|12_0[TValue,TJsonOptions](HttpClient client, Task`1 responseTask, Boolean usingResponseHeadersRead, CancellationTokenSource linkedCTS, Func`4 deserializeMethod, TJsonOptions jsonOptions, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.EnsureItemInfo(String imdbId, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.GetRootObject(String imdbId, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Omdb.OmdbImageProvider.GetImages(BaseItem item, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, IRemoteImageProvider provider, String preferredLanguage, Boolean includeAllLanguages, CancellationToken cancellationToken, Nullable`1 type)

    I've tried with the curl shown here and it works without issue.

    Code:
    root@jellyfin:/var/log/jellyfin# curl -v "https://private.omdbapi.com?apikey=fe53f97e&i=tt8337158&plot=short&tomatoes=true&r=json"
    *  Trying 104.20.34.121:443...
    * Connected to private.omdbapi.com (104.20.34.121) port 443 (#0)
    * ALPN: offers h2,http/1.1
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    *  CAfile: /etc/ssl/certs/ca-certificates.crt
    *  CApath: /etc/ssl/certs
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
    * TLSv1.3 (IN), TLS handshake, Certificate (11):
    * TLSv1.3 (IN), TLS handshake, CERT verify (15):
    * TLSv1.3 (IN), TLS handshake, Finished (20):
    * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
    * TLSv1.3 (OUT), TLS handshake, Finished (20):
    * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
    * ALPN: server accepted h2
    * Server certificate:
    *  subject: CN=omdbapi.com
    *  start date: Aug  4 21:02:39 2025 GMT
    *  expire date: Nov  2 21:02:38 2025 GMT
    *  subjectAltName: host "private.omdbapi.com" matched cert's "*.omdbapi.com"
    *  issuer: C=US; O=Let's Encrypt; CN=E5
    *  SSL certificate verify ok.
    * using HTTP/2
    * h2h3 [:method: GET]
    * h2h3 [:path: /?apikey=fe53f97e&i=tt8337158&plot=short&tomatoes=true&r=json]
    * h2h3 [:scheme: https]
    * h2h3 [:authority: private.omdbapi.com]
    * h2h3 [user-agent: curl/7.88.1]
    * h2h3 [accept: */*]
    * Using Stream ID: 1 (easy handle 0x5d04976e47a0)
    > GET /?apikey=fe53f97e&i=tt8337158&plot=short&tomatoes=true&r=json HTTP/2
    > Host: private.omdbapi.com
    > user-agent: curl/7.88.1
    > accept: */*
    >
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * old SSL session ID is stale, removing
    < HTTP/2 200
    < date: Mon, 04 Aug 2025 22:56:21 GMT
    < content-type: application/json; charset=utf-8
    < content-length: 1278
    < cf-ray: 96a1a5c27b9405fa-IAD
    < cache-control: public, max-age=3600
    < expires: Mon, 04 Aug 2025 23:56:21 GMT
    < last-modified: Mon, 04 Aug 2025 22:56:21 GMT
    < vary: *
    < x-aspnet-version: 4.0.30319
    < x-powered-by: ASP.NET
    < access-control-allow-origin: *
    < cf-cache-status: BYPASS
    < server: cloudflare
    <
    {"Title":"Rumble","Year":"2021","Rated":"PG","Released":"15 Dec 2021","Runtime":"95 min","Genre":"Animation, Comedy, Family","Director":"Hamish Grieve","Writer":"Hamish Grieve, Matt Lieberman, Rob Harrell","Actors":"Geraldine Viswanathan, Will Arnett, Stephen A. Smith","Plot":"In a world where monster wrestling is a global sport and monsters are superstar athletes, teenage Winnie seeks to follow in her father's footsteps by coaching a loveable underdog monster into a champion.","Language":"English","Country":"United States","Awards":"N/A","Poster":"https://m.media-amazon.com/images/M/MV5BYTU3NWU4YjQtNGE0Yi00OTcxLTlkNDgtYWY0ODkzNmMwZTA4XkEyXkFqcGc@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"5.9/10"},{"Source":"Rotten Tomatoes","Value":"47%"},{"Source":"Metacritic","Value":"48/100"}],"Metascore":"48","imdbRating":"5.9","imdbVotes":"9,222","imdbID":"tt8337158","Type":"movie","tomatoMeter":"N/A","tomatoImage":"N/A","tomatoRating":"N/A","tomatoReviews":"N/A","tomatoFresh":"N/A","tomatoR* Connection #0 to host private.omdbapi.com left intact
    otten":"N/A","tomatoConsensus":"N/A","tomatoUserMeter":"N/A","tomatoUserRating":"N/A","tomatoUserReviews":"N/A","tomatoURL":"https://www.rottentomatoes.com/m/rumble_2021","DVD":"N/A","BoxOffice":"N/A","Production":"N/A","Website":"N/A","Response":"True"}
    root@jellyfin:/var/log/jellyfin#
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Error in The Open Movie Database Response status code does not indicate success: 401 - by mrp - 4 hours ago

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode