Please add support for brand accounts, at the moment, we get a permission error (see below).
I guess I need to add permissions but the problem might be more complicated than that.
Other details
Here is the error:
throw new InnertubeError(Request to ${response.url} failed with status ${response.status}`, yield response.text());
^
InnertubeError: Request to https://upload.youtube.com//upload/youtubei?prettyPrint=false&alt=json failed with status 401
at HTTPClient. (/home/rolland/YouTube/node_modules/youtubei.js/bundle/node.cjs:12199:13)
at Generator.next ()
at fulfilled (/home/user/YouTube/node_modules/tslib/tslib.js:166:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
info: '{"status":"STATUS_REJECTED","rejectionReason":"REJECTED_NOT_AUTHENTICATED"}',
date: 2023-08-27T09:37:47.038Z,
version: '6.0.2'
}`
Checklist
[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe your suggestion
Please add support for brand accounts, at the moment, we get a permission error (see below).
I guess I need to add permissions but the problem might be more complicated than that.
Other details
Here is the error:
throw new InnertubeError(
Request to ${response.url} failed with status ${response.status}`, yield response.text()); ^InnertubeError: Request to https://upload.youtube.com//upload/youtubei?prettyPrint=false&alt=json failed with status 401 at HTTPClient. (/home/rolland/YouTube/node_modules/youtubei.js/bundle/node.cjs:12199:13)
at Generator.next ()
at fulfilled (/home/user/YouTube/node_modules/tslib/tslib.js:166:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
info: '{"status":"STATUS_REJECTED","rejectionReason":"REJECTED_NOT_AUTHENTICATED"}',
date: 2023-08-27T09:37:47.038Z,
version: '6.0.2'
}`
Checklist