IOException: Error while sending request: {"error":{"code":429,"message":"Request throttled at the client by A...
Closed this issue · 2 comments
sentry-io commented
Sentry Issue: REE6-JAVA-21
IOException: Error while sending request: {"error":{"code":429,"message":"Request throttled at the client by AdaptiveThrottler.; /ChannelShelfFeedsService.GetBrowse RPC failed","errors":[{"message":"Request throttled at the client by AdaptiveThrottler.; /ChannelShelfFeedsService.GetBrowse RPC failed","domain":"global","reason":"rateLimitExceeded"}],"status":"RESOURCE_EXHAUSTED","details":[{"@type":"type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.BrowseResponse","responseContext":{"visitorData":"CgtSZWlqOFZqNDFfZyje0vKfBg%3D%3D","serviceTrackingParams":[{"service":"GFEEDBACK","params":[{"key":"route","value":"channel.videos"},{"key":"is_casual","value":"false"},{"key":"is_owner","value":"false"},{"key":"is_monetization_enabled","value":"false"},{"key":"num_shelves","value":"2"},{"key":"is_alc_surface","value":"false"},{"key":"browse_id","value":"UC6trFCx-0jf3SkPJI6FNW7g"},{"key":"browse_id_prefix","value":""},{"key":"logged_in","value":"0"},{"key":"e","value":"1714247,23804281,23918597,23943577,23946420,23966208,23983296,23986023,23998056,24004644,24007246,24034168,24036947,24077241,24080738,24120819,24135310,24140247,24162919,24164186,24166867,24169501,24181174,24187043,24187377,24211178,24219713,24240252,24241378,24248091,24248955,24255165,24255543,24255545,24262346,24263796,24267564,24268142,24269410,24281897,24283015,24283093,24288045,24288664,24290971,24291857,24299873,24390674,24391543,24396645,24404640,24406361,24407191,24415864,24415866,24418788,24426636,24427318,24428638,24428818,24428902,24429092,24433679,24437577,24437658,24439360,24439483,24440132,24443355,24446866,24449113,24449516,24449834,24450367,24450499,24451032,24451876,24453129,24456384,24458098,24458839,24463362,24465099,24466372,24466458,24466859,24469898,24470280,24472452,24473426,24475974,24477147,24477481,24479966,24481213,24481771,24484160,39323075,45686551"}]},{"service":"GOOGLE_HELP","params":[{"key":"browse_id","value":"UC6trFCx-0jf3SkPJI6FNW7g"},{"key":"browse_id_prefix","value":""}]},{"service":"CSI","params":[{"key":"c","value":"WEB"},{"key":"cver","value":"2.20210721.00.00"},{"key":"yt_li","value":"0"},{"key":"GetChannelPage_rid","value":"0xee38d377a23559ee"}]},{"service":"GUIDED_HELP","params":[{"key":"logged_in","value":"0"}]},{"service":"ECATCHER","params":[{"key":"client.version","value":"2.20221122"},{"key":"client.name","value":"WEB"},{"key":"client.fexp","value":"24450499,23986023,45686551,24473426,24429092,24439483,24396645,23918597,24268142,24449516,24219713,24439360,23966208,24181174,24288045,24428818,23804281,24456384,24248091,24407191,24269410,24463362,24470280,24169501,24453129,24458839,24458098,24080738,24166867,24428902,24391543,24440132,24255543,24451032,24248955,24283093,23983296,24162919,24449834,24466859,24007246,23946420,24077241,24004644,24428638,39323075,24443355,23998056,24263796,24283015,23943577,24477147,24267564,24036947,24426636,24475974,24415866,24187043,24211178,24135310,24390674,24262346,24140247,24291857,24477481,24418788,24450367,24465099,24466458,24255165,24241378,24164186,24446866,24472452,24484160,24427318,24187377,24406361,24437658,24469898,1714247,24449113,24466372,24404640,24120819,24240252,24437577,24034168,24281897,24481213,24451876,24288664,24299873,24290971,24433679,24255545,24479966,24481771,24415864"}]}],"maxAgeSeconds":0,"mainAppWebResponseContext":{"loggedOut":true},"webResponseContextExtensionData":{"hasDecorated":true}},"contents":{"twoColumnBrowseResultsRenderer":{"tabs":[{"tabRenderer":{"selected":true,"content":{"sectionListRenderer":{"contents":[{"itemSectionRenderer":{"contents":[{"backgroundPromoRenderer":{"title":{"simpleText":"Something went wrong"},"trackingParams":"CBAQ7qoJGAAiEwiRyYH74LX9AhX40xEIHdR0BKE=","thumbnail":{"thumbnails":[{"url":"https://www.youtube.com/img/desktop/unavailable/unavailable_video.png","width":278,"height":161}]},"ctaButton":{"buttonRenderer":{"style":"STYLE_SUGGESTIVE","size":"SIZE_DEFAULT","isDisabled":false,"text":{"runs":[{"text":"Try again"}]},"navigationEndpoint":{"clickTrackingParams":"CBEQuLYJIhMIkcmB++C1/QIV+NMRCB3UdASh","commandMetadata":{"webCommandMetadata":{"url":"/channel/UC6trFCx-0jf3SkPJI6FNW7g","webPageType":"WEB_PAGE_TYPE_CHANNEL","rootVe":3611,"apiUrl":"/youtubei/v1/browse"}},"browseEndpoint":{"browseId":"UC6trFCx-0jf3SkPJI6FNW7g"}},"trackingParams":"CBEQuLYJIhMIkcmB++C1/QIV+NMRCB3UdASh","accessibilityData":{"accessibilityData":{"label":"Try again"}}}},"style":{"value":"BACKGROUND_PROMO_STYLE_TYPE_FULL_HEIGHT"}}}],"trackingParams":"CA8Quy8YACITCJHJgfvgtf0CFfjTEQgd1HQEoQ=="}}],"trackingParams":"CA4Qui8iEwiRyYH74LX9AhX40xEIHdR0BKE="}},"tabIdentifier":"UC6trFCx-0jf3SkPJI6FNW7g","trackingParams":"CA0Q8JMBGAAiEwiRyYH74LX9AhX40xEIHdR0BKE="}}]}},"trackingParams":"CAAQhGciEwiRyYH74LX9AhX40xEIHdR0BKE=","topbar":{"desktopTopbarRenderer":{"logo":{"topbarLogoRenderer":{"iconImage":{"iconType":"YOUTUBE_LOGO"},"tooltipText":{"runs":[{"text":"YouTube Home"}]},"endpoint":{"clickTrackingParams":"CAwQsV4iEwiRyYH74LX9AhX40xEIHdR0BKE=","commandMetadata":{"webCommandMetadata":{"url":"/","webPageType":"WEB_PAGE_TYPE_BROWSE","rootVe":3854,"apiUrl":"/youtubei/v1/browse"}},"browseEndpoint":{"browseId":"FEwhat_to_watch"}},"trackingParams":"CAwQsV4iEwiRyYH74LX9AhX40xEIHdR0BKE=","overrideEntityKey":"EgZ0b3BiYXIg9QEoAQ%3D%3D"}},"searchbox":{"fusionSearchboxRenderer":{"icon":{"iconType":"SEARCH"},"placeholderText":{"runs":[{"text":"Search"}]},"config":{"webSearchboxConfig":{"requestLanguage":"en","requestDomain":"us","hasOnscreenKeyboard":false,"focusSearchbox":true}},"trackingParams":"CAoQ7VAiEwiRyYH74LX9AhX40xEIHdR0BKE=","searchEndpoint":{"clickTrackingParams":"CAoQ7VAiEwiRyYH74LX9AhX40xEIHdR0BKE=","commandMetadata":{"webCommandMetadata":{"url":"/results?search_query=","webPageType":"WEB_PAGE_TYPE_SEARCH","rootVe":4724}},"searchEndpoint":{"query":""}},"clearButton":{"buttonRenderer":{"style":"STYLE_DEFAULT","size":"SIZE_DEFAULT","isDisabled":false,"icon":{"iconType":"CLOSE"},"trackingParams":"CAsQ8FsiEwiRyYH74LX9AhX40xEIHdR0BKE=","accessibilityData":{"accessibilityData":{"label":"Clear search query"}}}}}},"trackingParams":"CAEQq6wBIhMIkcmB++C1/QIV+NMRCB3UdASh","topbarButtons":[{"topbarMenuButtonRenderer":{"icon":{"iconType":"MORE_VERT"},"menuRequest":{"clickTrackingParams":"CAgQ/qsBGAAiEwiRyYH74LX9AhX40xEIHdR0BKE=","commandMetadata":{"webCommandMetadata":{"sendPost":true,"apiUrl":"/youtubei/v1/account/account_menu"}},"signalServiceEndpoint":{"signal":"GET_ACCOUNT_MENU","actions":[{"clickTrackingParams":"CAgQ/qsBGAAiEwiRyYH74LX9AhX40xEIHdR0BKE=","openPopupAction":{"popup":{"multiPageMenuRenderer":{"trackingParams":"CAkQ/6sBIhMIkcmB++C1/QIV+NMRCB3UdASh","style":"MULTI_PAGE_MENU_STYLE_TYPE_SYSTEM","showLoadingSpinner":true}},"popupType":"DROPDOWN","beReused":true}}]}},"trackingParams":"CAgQ/qsBGAAiEwiRyYH74LX9AhX40xEIHdR0BKE=","accessibility":{"accessibilityData":{"label":"Settings"}},"tooltip":"Settings","style":"STYLE_DEFAULT"}},{"buttonRenderer":{"style":"STYLE_SUGGESTIVE","size":"SIZE_SMALL","text":{"runs":[{"text":"Sign in"}]},"icon":{"iconType":"AVATAR_LOGGED_OUT"},"navigationEndpoint":{"clickTrackingParams":"CAcQ1IAEGAEiEwiRyYH74LX9AhX40xEIHdR0BKE=","commandMetadata":{"webCommandMetadata":{"url":"https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252F&hl=en&ec=65620","webPageType":"WEB_PAGE_TYPE_UNKNOWN","rootVe":83769}},"signInEndpoint":{"idamTag":"65620"}},"trackingParams":"CAcQ1IAEGAEiEwiRyYH74LX9AhX40xEIHdR0BKE=","targetId":"topbar-signin"}}],"hotkeyDialog":{"hotkeyDialogRenderer":{"title":{"runs":[{"text":"Keyboard shortcuts"}]},"sections":[{"hotkeyDialogSectionRenderer":{"title":{"runs":[{"text":"Playback"}]},"options":[{"hotkeyDialogSectionOptionRenderer":{"label":{"runs":[{"text":"Toggle play/pause"}]},"hotkey":"k"}},{"hotkeyDialogSectionOptionRenderer":{"label":{"runs":[{"text":"Rewind 10 seconds"}]},"hotkey":"j"}},{"hotkeyDialogSectionOptionRenderer":{"label":{"runs":[{"text":"Fast forward 10 seconds"}]},"hotkey":"l"}},{"hotkeyDialogSectionOptionRenderer":{"label":{"runs":[{"text":"Previou...
at de.presti.wrapper.YouTubeWrapper.send(YouTubeWrapper.java:139)
at de.presti.wrapper.YouTubeWrapper.send(YouTubeWrapper.java:112)
at de.presti.wrapper.YouTubeWrapper.getChannelVideo(YouTubeWrapper.java:91)
at de.presti.ree6.utils.apis.YouTubeAPIHandler.getYouTubeUploads(YouTubeAPIHandler.java:67)
at de.presti.ree6.utils.apis.Notifier.lambda$createUploadStream$16(Notifier.java:634)
...
(6 additional frame(s) were not displayed)
DxsSucuk commented
This is an error but should be used to further develope the YouTube Wrapper by using something like a Future<> or Consumer<>. So the request can be handled when the system finished retrying it after 5-10 seconds.
DxsSucuk commented
This Issues will stay closed but we will still be adding support to Futures or Consumers to have better way of handling everything instead of keeping it sync to eat up performance.