• 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 Development Client Development API issues updating an item

     
    • 0 Vote(s) - 0 Average

    API issues updating an item

    WayneLovesJelly
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    Country:Australia
    #1
    4 hours ago
    I am attempting to update and item using the API.

    I can successfully get the items data using the Items API. 
    When I post the same data back I get an exception in the logs,

    [2025-11-13 23:03:05.516 +00:00] [ERR] [66] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Items/acabd9e2adb5af9239a5108869b4dc12".
    System.InvalidOperationException: Each parameter in the deserialization constructor on type 'MediaBrowser.Model.Dto.TrickplayInfoDto' must bind to an object property or field on deserialization. Each parameter name must match with a property or field on the object. Fields are only considered when 'JsonSerializerOptions.IncludeFields' is enabled. The match can be case-insensitive

    I can confirm that my data appears to match the API spec

    ."Trickplay":{
          "acabd9e2adb5af9239a5108869b4dc12":{
             "320":{
                "Width":320,
                "Height":180,
                "TileWidth":10,
                "TileHeight":10,
                "ThumbnailCount":21,
                "Interval":10000,
                "Bandwidth":2096
             }
          }
       },


    This API script had been working in the past but had stopped recently when I enabled truck play and upgraded the server.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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