mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #816] Error "Unable to find 'text' using path ['facepile', 'avatarStackViewModel', 'text', 'content'] #510
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#510
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saboshi69 on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/816
Describe the bug
After upgrading to ytmusicapi 1.11.1, fetching certain playlists fails with the following error:
ytmusicapi.exceptions.NavigationError: Unable to find 'text' using path
['facepile', 'avatarStackViewModel', 'text', 'content']
This only occurs when using a collaborative unlisted/private playlist (invite-only by link) (Unauthenticated requests ).
Public playlists do not trigger the error.
In the JSON response for collaborative private playlists, the
"text"field under"avatarStackViewModel"is missing.Instead, the collaborator name is now found under:
json rendererContext.accessibilityContext.labelThis causes methods like get_playlist to crash.
The same call works correctly on version 1.11.0.
ytmusicapi version
1.11.1
To Reproduce
Install ytmusicapi 1.11.1
Call get_playlist(playlistId) on a private/unlisted collaborative playlist
Observe the exception:
Unable to find 'text' using path ['facepile', 'avatarStackViewModel', 'text', 'content']
Try the same with a public playlist → no error
Additional context
It looks like YouTube Music changed the data structure for collaborator display in unlisted collaborative playlists.
Suggested fix: fall back to rendererContext.accessibilityContext.label if avatarStackViewModel.text.content is missing.
@sigma67 commented on GitHub (Sep 5, 2025):
@sgvictorino this is related to your recent change, if you want to have a look
@sgvictorino commented on GitHub (Sep 5, 2025):
So sorry! Should we return
"author": { "name": "by User and 1 other", "id": None }then? Would a list of collaborator avatar URLs be useful?@sigma67 commented on GitHub (Sep 6, 2025):
We've had some issues with collaborative playlists before, I think there's even one in the test data. Maybe you can check what info you can get and return that