Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.5.0 : 400 Bad Request for some some accounts while updating metadata #785

Open
4 tasks done
gunpal5 opened this issue Oct 24, 2024 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@gunpal5
Copy link

gunpal5 commented Oct 24, 2024

Steps to reproduce

Try to update metadata for videos in different accounts. Some accounts has this error but other works fine.

Failure Logs

C:\Users\Gunpa\Downloads\YouTube.js-91d308149691cf8037e54c294e173a91864c48fa\examples\upload\node_modules\youtubei.js\bundle\node.cjs:2058
    throw new InnertubeError(`Request to ${response.url} failed with status ${response.status}`, await response.text());
          ^
InnertubeError: Request to https://www.youtube.com/youtubei/v1/video_manager/metadata_update?prettyPrint=false&alt=json failed with status 400
    at HTTPClient.fetch (C:\Users\Gunpa\Downloads\YouTube.js-91d308149691cf8037e54c294e173a91864c48fa\examples\upload\node_modules\youtubei.js\bundle\node.cjs:2058:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Actions.execute (C:\Users\Gunpa\Downloads\YouTube.js-91d308149691cf8037e54c294e173a91864c48fa\examples\upload\node_modules\youtubei.js\bundle\node.cjs:18939:22)
    at async Studio.updateVideoMetadata (C:\Users\Gunpa\Downloads\YouTube.js-91d308149691cf8037e54c294e173a91864c48fa\examples\upload\node_modules\youtubei.js\bundle\node.cjs:26819:22)
    at async C:\Users\Gunpa\Downloads\YouTube.js-91d308149691cf8037e54c294e173a91864c48fa\examples\upload\index.ts:28:18 {
  info: '{\n' +
    '  "error": {\n' +
    '    "code": 400,\n' +
    '    "message": "Request contains an invalid argument.",\n' +
    '    "status": "INVALID_ARGUMENT"\n' +
    '  }\n' +
    '}\n',
  date: 2024-10-24T16:17:39.845Z,
  version: '10.5.0'
}

Expected behavior

Metadata should update fine for all the accounts and channels.

Current behavior

metadata update works for some account but for other it doesn't work

Version

Default

Anything else?

No response

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@gunpal5 gunpal5 added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant