You are getting this error because did not configure YoutubeHttpContextFilter
First you need YouTube account on what you can view age restricted videos in your browser, for example you can check it on this video https://www.youtube.com/watch?v=B3eAMGXFw1o
In browser DevTools find one of these requests to InnerTube API (You can filter requests)

Then open request, look at Request Headers and find cookie field in it and find these two keys
- __Secure-3PAPISID=
- __Secure-3PSID=
Set these keys in YoutubeHttpContextFilter, paste only what going after =
(For lavalink users only need paste keys to PAPISID and PSID fields in your config file)
YoutubeHttpContextFilter.setPAPISID("key1")
YoutubeHttpContextFilter.setPSID("key2")
In this screenshots is used Telerik Fiddler Classic program with it very easy find required cookies and keys


You are getting this error because did not configure
YoutubeHttpContextFilterFirst you need YouTube account on what you can view age restricted videos in your browser, for example you can check it on this video https://www.youtube.com/watch?v=B3eAMGXFw1o
In browser DevTools find one of these requests to InnerTube API (You can filter requests)

Then open request, look at
Request Headersand findcookiefield in it and find these two keysSet these keys in
YoutubeHttpContextFilter, paste only what going after=(For lavalink users only need paste keys to PAPISID and PSID fields in your config file)
In this screenshots is used


Telerik Fiddler Classicprogram with it very easy find required cookies and keys