[GH-ISSUE #198] 500 Internal Server Error when opening admin/library #99

Closed
opened 2026-02-17 17:06:07 -05:00 by yindo · 4 comments
Owner

Originally created by @Arkazzae on GitHub (Aug 20, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/198

After updating to the latest version, the app worked for a short while and then started crashing when opening Admin → Library. The /api/v1/admin/library endpoint now consistently returns HTTP 500.

/api/v1/admin/library:1  Failed to load resource: the server responded with a status of 500 ()
/api/v1/admin/library:1  Failed to load resource: the server responded with a status of 500 ()
library:1  Failed to load resource: the server responded with a status of 500 ()
Originally created by @Arkazzae on GitHub (Aug 20, 2025). Original GitHub issue: https://github.com/Drop-OSS/drop/issues/198 After updating to the latest version, the app worked for a short while and then started crashing when opening Admin → Library. The /api/v1/admin/library endpoint now consistently returns HTTP 500. ``` /api/v1/admin/library:1 Failed to load resource: the server responded with a status of 500 () /api/v1/admin/library:1 Failed to load resource: the server responded with a status of 500 () library:1 Failed to load resource: the server responded with a status of 500 () ```
yindo closed this issue 2026-02-17 17:06:07 -05:00
Author
Owner

@DecDuck commented on GitHub (Aug 20, 2025):

Can you check the server logs? 500 means an internal server error

@DecDuck commented on GitHub (Aug 20, 2025): Can you check the server logs? 500 means an internal server error
Author
Owner

@Arkazzae commented on GitHub (Aug 20, 2025):

Yes, here:

[request error] [unhandled] [GET] https://xxxxxx/api/v1/admin/library
InvalidCharacterError: Invalid character
at btoa (node:buffer:1288:11)
... 6 lines matching cause stack trace ...
at async Server. (file:///app/app/server/chunks/nitro/nitro.mjs:1:97992) {
cause: DOMException [InvalidCharacterError]: Invalid character
at btoa (node:buffer:1288:11)
at createGameImportTaskId (file:///app/app/server/chunks/nitro/nitro.mjs:1:333348)
at file:///app/app/server/chunks/nitro/nitro.mjs:1:334104
at Array.filter ()
at Object.fetchUnimportedGames (file:///app/app/server/chunks/nitro/nitro.mjs:1:334038)
at async Object.handler (file:///app/app/server/chunks/routes/api/v1/admin/index.get4.mjs:1:1082)
at async Object.handler (file:///app/app/server/chunks/nitro/nitro.mjs:1:95012)
at async Server. (file:///app/app/server/chunks/nitro/nitro.mjs:1:97992),
statusCode: 500,
fatal: false,
unhandled: true,
statusMessage: undefined,
data: undefined
}

@Arkazzae commented on GitHub (Aug 20, 2025): Yes, here: [request error] [unhandled] [GET] https://xxxxxx/api/v1/admin/library InvalidCharacterError: Invalid character at btoa (node:buffer:1288:11) ... 6 lines matching cause stack trace ... at async Server.<anonymous> (file:///app/app/server/chunks/nitro/nitro.mjs:1:97992) { cause: DOMException [InvalidCharacterError]: Invalid character at btoa (node:buffer:1288:11) at createGameImportTaskId (file:///app/app/server/chunks/nitro/nitro.mjs:1:333348) at file:///app/app/server/chunks/nitro/nitro.mjs:1:334104 at Array.filter (<anonymous>) at Object.fetchUnimportedGames (file:///app/app/server/chunks/nitro/nitro.mjs:1:334038) at async Object.handler (file:///app/app/server/chunks/routes/api/v1/admin/index.get4.mjs:1:1082) at async Object.handler (file:///app/app/server/chunks/nitro/nitro.mjs:1:95012) at async Server.<anonymous> (file:///app/app/server/chunks/nitro/nitro.mjs:1:97992), statusCode: 500, fatal: false, unhandled: true, statusMessage: undefined, data: undefined }
Author
Owner

@DecDuck commented on GitHub (Aug 20, 2025):

Unfortunately we have a bug where you cannot have non-ASCII characters in library paths.

@DecDuck commented on GitHub (Aug 20, 2025): Unfortunately we have a bug where you cannot have non-ASCII characters in library paths.
Author
Owner

@Arkazzae commented on GitHub (Aug 21, 2025):

Thanks, i renamed problematic files, and it worked fine.

@Arkazzae commented on GitHub (Aug 21, 2025): Thanks, i renamed problematic files, and it worked fine.
yindo changed title from 500 Internal Server Error when opening admin/library to [GH-ISSUE #198] 500 Internal Server Error when opening admin/library 2026-06-05 14:21:25 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#99