Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import: Cannot read properties of null (reading 'id') #433

Open
fbrinker opened this issue Sep 17, 2024 · 1 comment
Open

Import: Cannot read properties of null (reading 'id') #433

fbrinker opened this issue Sep 17, 2024 · 1 comment

Comments

@fbrinker
Copy link

Description

When importing my "Extended Streaming History", it seems that I have a corrupt entry in my dataset. All files work but one batch. It stops at 1850/16500, but I couldn't determine the entry yet.

Log

[info]  Importing... (1973/16500)
[info]  Adding The F Track - Showtek from data

[...]

[info]  Adding We're Doing It - Rob Bailey & The Hustle Standard from data
[error]  TypeError: Cannot read properties of null (reading 'id')
    at /app/apps/server/lib/tools/importers/full_privacy.js:140:59
    at Array.forEach (<anonymous>)
    at FullPrivacyImporter.<anonymous> (/app/apps/server/lib/tools/importers/full_privacy.js:138:27)
    at Generator.next (<anonymous>)
    at fulfilled (/app/apps/server/lib/tools/importers/full_privacy.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[error]  This import failed, but metadata is kept so that you can retry it later in the settings

Debugging

Any idea what to look out for? The songs, the importer tries to add, have multiple occurrences in my file. Is the importer adding the tracks in the same order as they are listed in the file? So it would be an entry between object # 1850 and 1973?

@schumi4
Copy link

schumi4 commented Dec 12, 2024

I'm also experiencing this with one of my json files on 1.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants