[Bug]: Invalid request. Setting "markAsFinishedPercentComplete" must be of type object #2502

Closed
opened 2026-04-25 00:07:47 +02:00 by adam · 1 comment
Owner

Originally created by @Mateusz-Jaskolowski on GitHub (Jan 18, 2025).

What happened?

When trying to setup a new library, I want to set the "Mark media item as finished when" based on percentage, with "Percent complete is greater than:". When I type '98' into the input box I get the following error: "Invalid request. Setting "markAsFinishedPercentComplete" must be of type object"

Image

What did you expect to happen?

Would expect an int value to be accepted

Steps to reproduce the issue

  1. Create a new library
  2. In setting, change the 'Mark media item as finished when'
  3. Type in any value, in my case 98
  4. Hit "Create"

Audiobookshelf version

v2.17.7

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs


Additional Notes

No response

Originally created by @Mateusz-Jaskolowski on GitHub (Jan 18, 2025). ### What happened? When trying to setup a new library, I want to set the "Mark media item as finished when" based on percentage, with "Percent complete is greater than:". When I type '98' into the input box I get the following error: "Invalid request. Setting "markAsFinishedPercentComplete" must be of type object" ![Image](https://github.com/user-attachments/assets/20d8aff0-984a-4087-ba21-b47e7604cf77) ### What did you expect to happen? Would expect an int value to be accepted ### Steps to reproduce the issue 1. Create a new library 2. In setting, change the 'Mark media item as finished when' 3. Type in any value, in my case 98 4. Hit "Create" ### Audiobookshelf version v2.17.7 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:07:47 +02:00
adam closed this issue 2026-04-25 00:07:47 +02:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2025):

Fixed in v2.18.0.

@github-actions[bot] commented on GitHub (Jan 20, 2025): Fixed in [v2.18.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.18.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2502