google api - Unable to OAuth with account that owns YouTube channel -


i have google account uploading videos using v2 youtube api. account guess has 2 accounts linked it, because when go through oauth flows have choose account.

the 1st account, 1 setup api in developer console, gives me option authorize youtube api controls. 2nd account, 1 youtube channel, says i'm giving application offline access, there no permissions specified relating youtube.

i did oauth using 1st account, since 1 listed youtube permissions. got refresh token , added application. however, when go attempt insert video youtube following error: code 401 unauthorized: youtubesignuprequired

it's though i'm not linking @ youtube channel account though both on same google account.

has encountered before? way, know certainty api calls work properly, able upload dev environment. dev account single account though owns channel on same account api.

i able resolve this.

it turned out needed oauth 2nd account, 1 youtube channel. despite not requesting permissions related youtube , getting offline access, able upload using refresh token received.

definitely case of illogical solution being correct one.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -