api error when downloading m4b via mobile #13

Closed
opened 2026-04-24 23:02:19 +02:00 by adam · 5 comments
Owner

Originally created by @davidszp on GitHub (Oct 25, 2021).

Trying to download an m4b for offline storage on Android yields the following api error for me on server version 1.5.1

"2021-10-24 22:35:06 ERROR Api called without a token /s/book/kv5s09g8//Gawande%20Atul%20-%20The%20Checklist%20Manifesto.%20How%20to%20Get%20Things%20Right%20-%202009.m4b"
Originally created by @davidszp on GitHub (Oct 25, 2021). Trying to download an m4b for offline storage on Android yields the following api error for me on server version 1.5.1 ``` "2021-10-24 22:35:06 ERROR Api called without a token /s/book/kv5s09g8//Gawande%20Atul%20-%20The%20Checklist%20Manifesto.%20How%20to%20Get%20Things%20Right%20-%202009.m4b" ```
adam closed this issue 2026-04-24 23:02:20 +02:00
Author
Owner

@docfactory37 commented on GitHub (Oct 25, 2021):

Im also having the same issue when just trying to download via the Mobile App see error log below.

[2021-10-25T06:26:03.083Z]  INFO: === Starting Server ===,
[2021-10-25T06:26:03.083Z]  INFO: [Server] Init v1.5.1,
[2021-10-25T06:26:03.225Z]  INFO: [DB] 2 Users Loaded,
[2021-10-25T06:26:03.226Z]  INFO: [DB] 1 Libraries Loaded,
[2021-10-25T06:26:03.817Z]  INFO: [DB] 861 Audiobooks Loaded,
[2021-10-25T06:26:03.817Z]  INFO: [Db] Root user exists, pw: true,
[2021-10-25T06:26:03.818Z]  INFO: [BackupManager] 0 Backups Found,
[2021-10-25T06:26:03.818Z]  INFO: [BackupManager] Auto Backups are disabled,
[2021-10-25T06:26:03.818Z]  INFO: [Watcher] Initializing watcher for "Main"..,
[2021-10-25T06:26:03.842Z]  INFO: Running on http://0.0.0.0:80,
[2021-10-25T06:26:04.401Z]  INFO: [Watcher] "Main" Ready,
[2021-10-25T06:26:14.808Z]  INFO: Recieved ping,
[2021-10-25T06:26:14.894Z]  INFO: [SOCKET] Socket Connected token,
[2021-10-25T06:26:22.575Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20,
[2021-10-25T06:26:27.537Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20,
[2021-10-25T06:26:41.791Z] ERROR: Api called without a token /s/book/token//BenedictCumberbatchReadsSherlockHolmes.mp3,
[2021-10-25T06:27:09.410Z]  INFO: [Server] Socket token disconnected from client "username" after 54516ms,
[2021-10-25T06:28:09.216Z]  INFO: [Server] User username is logging out with socket undefined,
[2021-10-25T06:28:15.029Z]  INFO: [SOCKET] Socket Connected token

If you look at when it is trying to downloads the mp3 file there is a double \ should this just be a \ ?

@docfactory37 commented on GitHub (Oct 25, 2021): Im also having the same issue when just trying to download via the Mobile App see error log below. ``` [2021-10-25T06:26:03.083Z] INFO: === Starting Server ===, [2021-10-25T06:26:03.083Z] INFO: [Server] Init v1.5.1, [2021-10-25T06:26:03.225Z] INFO: [DB] 2 Users Loaded, [2021-10-25T06:26:03.226Z] INFO: [DB] 1 Libraries Loaded, [2021-10-25T06:26:03.817Z] INFO: [DB] 861 Audiobooks Loaded, [2021-10-25T06:26:03.817Z] INFO: [Db] Root user exists, pw: true, [2021-10-25T06:26:03.818Z] INFO: [BackupManager] 0 Backups Found, [2021-10-25T06:26:03.818Z] INFO: [BackupManager] Auto Backups are disabled, [2021-10-25T06:26:03.818Z] INFO: [Watcher] Initializing watcher for "Main".., [2021-10-25T06:26:03.842Z] INFO: Running on http://0.0.0.0:80, [2021-10-25T06:26:04.401Z] INFO: [Watcher] "Main" Ready, [2021-10-25T06:26:14.808Z] INFO: Recieved ping, [2021-10-25T06:26:14.894Z] INFO: [SOCKET] Socket Connected token, [2021-10-25T06:26:22.575Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20, [2021-10-25T06:26:27.537Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20, [2021-10-25T06:26:41.791Z] ERROR: Api called without a token /s/book/token//BenedictCumberbatchReadsSherlockHolmes.mp3, [2021-10-25T06:27:09.410Z] INFO: [Server] Socket token disconnected from client "username" after 54516ms, [2021-10-25T06:28:09.216Z] INFO: [Server] User username is logging out with socket undefined, [2021-10-25T06:28:15.029Z] INFO: [SOCKET] Socket Connected token ``` If you look at when it is trying to downloads the mp3 file there is a double \\ should this just be a \ ?
Author
Owner

@advplyr commented on GitHub (Oct 25, 2021):

This was only happening for single file downloads and the problem was the URL wasn't passing the user token to the server.
The update is deploying to the google play store now, should be available to update in an hour or 2.

@advplyr commented on GitHub (Oct 25, 2021): This was only happening for single file downloads and the problem was the URL wasn't passing the user token to the server. The update is deploying to the google play store now, should be available to update in an hour or 2.
Author
Owner

@advplyr commented on GitHub (Oct 25, 2021):

This is live v0.9.9-beta.
If you open the app hopefully it should let you know that an update is available. I forgot to test it out this time, if you happen to see that let me know.

@advplyr commented on GitHub (Oct 25, 2021): This is live `v0.9.9-beta`. If you open the app hopefully it should let you know that an update is available. I forgot to test it out this time, if you happen to see that let me know.
Author
Owner

@davidszp commented on GitHub (Oct 25, 2021):

I have installed the Android update and it successfully downloaded an audiobook for offline use. Thank you.

@davidszp commented on GitHub (Oct 25, 2021): I have installed the Android update and it successfully downloaded an audiobook for offline use. Thank you.
Author
Owner

@docfactory37 commented on GitHub (Oct 25, 2021):

I have also updated and it is working now. Thank you

@docfactory37 commented on GitHub (Oct 25, 2021): I have also updated and it is working now. Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#13