[GH-ISSUE #283] Document X-Goog-PageId #220

Closed
opened 2026-02-27 22:08:40 +03:00 by kerem · 1 comment
Owner

Originally created by @desttinghim on GitHub (Jul 18, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/283

Context: I am setting up mopidy-ytmusic on NixOS. There isn't access to mopidyctl for some reason, so I've had to manually fill out the auth.json

I was having a strange issue where authentication was succeeding, but I wasn't getting back the correct data for my account. I think the problem is that I've accidentally been using a brand account for my music. I attempted to follow the ytmusicapi FAQ to resolve this, but changing the AuthUser just made authentication fail. However, I noticed the X-Goog-PageId had the same value as my brand id, so I went back to my previous auth.json and added the X-Goog-PageId field. Everything seems to work now!

I haven't seen any info on this particular scenario, so I'm creating this issue to have the X-Goog-PageId field documented.

Originally created by @desttinghim on GitHub (Jul 18, 2022). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/283 Context: I am setting up mopidy-ytmusic on NixOS. There isn't access to mopidyctl for some reason, so I've had to manually fill out the `auth.json` I was having a strange issue where authentication was succeeding, but I wasn't getting back the correct data for my account. I think the problem is that I've accidentally been using a brand account for my music. I attempted to follow the ytmusicapi [FAQ](https://ytmusicapi.readthedocs.io/en/latest/faq.html) to resolve this, but changing the AuthUser just made authentication fail. However, I noticed the `X-Goog-PageId` had the same value as my brand id, so I went back to my previous `auth.json` and added the `X-Goog-PageId` field. Everything seems to work now! I haven't seen any info on this particular scenario, so I'm creating this issue to have the X-Goog-PageId field documented.
kerem 2026-02-27 22:08:40 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@sigma67 commented on GitHub (Aug 2, 2022):

I don't think the X-Goog-PageId field is even required, for my requests from brand accounts it works just fine without.

Do you think it is needed?

<!-- gh-comment-id:1202352361 --> @sigma67 commented on GitHub (Aug 2, 2022): I don't think the `X-Goog-PageId` field is even required, for my requests from brand accounts it works just fine without. Do you think it is needed?
Sign in to join this conversation.
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/ytmusicapi#220
No description provided.