[GH-ISSUE #14] Error while using get_playlist_info(): "Variable 'enableWatchFeedEntrypoint' has an invalid value" #67

Closed
opened 2026-03-14 20:21:27 +03:00 by kerem · 2 comments
Owner

Originally created by @Leogendra on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/14

Version:

  • spotapi==1.1.3
  • Python 3.12.5

Code to reproduce the error:

from spotapi import PublicPlaylist

playlist = PublicPlaylist("6zCID88oNjNv9zx6puDHKj")
playlist_info = playlist.get_playlist_info(limit=100)
print(playlist_info)

Observed Behavior:
The code outputs a ValidationError:

{
    "errors": [
        {
            "message": "Variable 'enableWatchFeedEntrypoint' has an invalid value: Variable 'enableWatchFeedEntrypoint' has coerced Null value for NonNull type 'Boolean!'",
            "locations": [
                {
                    "line": 1,
                    "column": 5055
                }
            ],
            "extensions": {
                "classification": "ValidationError"
            }
        },
        {
            "message": "Variable 'enableWatchFeedEntrypoint' undefined",
            "locations": [
                {
                    "line": -1,
                    "column": -1
                }
            ],
            "extensions": {
                "classification": "ValidationError"
            }
        }
    ],
    "data": null,
    "extensions": {}
}

Expected Behavior:
The get_playlist_info method should return the playlist details without any errors.

Additional Information:

  • The issue seems to originate from the variable enableWatchFeedEntrypoint, which is either missing or not properly handled by the API.
  • Is there a configuration or parameter I need to pass to resolve this?
Originally created by @Leogendra on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/14 **Version:** - `spotapi==1.1.3` - Python `3.12.5` **Code to reproduce the error:** ```python from spotapi import PublicPlaylist playlist = PublicPlaylist("6zCID88oNjNv9zx6puDHKj") playlist_info = playlist.get_playlist_info(limit=100) print(playlist_info) ``` **Observed Behavior:** The code outputs a `ValidationError`: ``` { "errors": [ { "message": "Variable 'enableWatchFeedEntrypoint' has an invalid value: Variable 'enableWatchFeedEntrypoint' has coerced Null value for NonNull type 'Boolean!'", "locations": [ { "line": 1, "column": 5055 } ], "extensions": { "classification": "ValidationError" } }, { "message": "Variable 'enableWatchFeedEntrypoint' undefined", "locations": [ { "line": -1, "column": -1 } ], "extensions": { "classification": "ValidationError" } } ], "data": null, "extensions": {} } ``` **Expected Behavior:** The `get_playlist_info` method should return the playlist details without any errors. **Additional Information:** - The issue seems to originate from the variable `enableWatchFeedEntrypoint`, which is either missing or not properly handled by the API. - Is there a configuration or parameter I need to pass to resolve this?
kerem closed this issue 2026-03-14 20:21:32 +03:00
Author
Owner

@Leogendra commented on GitHub (Feb 3, 2025):

May you push the fix on pypi?

<!-- gh-comment-id:2630534229 --> @Leogendra commented on GitHub (Feb 3, 2025): May you push the fix on pypi?
Author
Owner

@Aran404 commented on GitHub (Feb 9, 2025):

Sorry didn't notice your message, it has been pushed now.

<!-- gh-comment-id:2646011293 --> @Aran404 commented on GitHub (Feb 9, 2025): Sorry didn't notice your message, it has been pushed now.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotAPI#67
No description provided.