René's URL Explorer Experiment


Title: YouTube Reporting media().download(...) 400 content breaks HttpError._get_reason · Issue #225 · googleapis/google-api-python-client · GitHub

Open Graph Title: YouTube Reporting media().download(...) 400 content breaks HttpError._get_reason · Issue #225 · googleapis/google-api-python-client

X Title: YouTube Reporting media().download(...) 400 content breaks HttpError._get_reason · Issue #225 · googleapis/google-api-python-client

Description: From the discover tools, media().download(...) is triggering a request to https://youtubereporting.googleapis.com/v1/media/test?alt=json which is returning a 400 for me with the following content: [{ "error": { "code": 400, "message": "I...

Open Graph Description: From the discover tools, media().download(...) is triggering a request to https://youtubereporting.googleapis.com/v1/media/test?alt=json which is returning a 400 for me with the following content: ...

X Description: From the discover tools, media().download(...) is triggering a request to https://youtubereporting.googleapis.com/v1/media/test?alt=json which is returning a 400 for me with the following content: ...

Opengraph URL: https://github.com/googleapis/google-api-python-client/issues/225

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"YouTube Reporting media().download(...) 400 content breaks HttpError._get_reason","articleBody":"From the discover tools, `media().download(...)` is triggering a request to `https://youtubereporting.googleapis.com/v1/media/test?alt=json` which is returning a 400 for me with the following content:\n\n```\n[{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Invalid value for query parameter 'alt'. It must be set to \\\"media\\\".\",\n    \"errors\": [\n      {\n        \"message\": \"Invalid value for query parameter 'alt'. It must be set to \\\"media\\\".\",\n        \"domain\": \"global\",\n        \"reason\": \"badRequest\"\n      }\n    ],\n    \"status\": \"INVALID_ARGUMENT\"\n  }\n}\n]\n```\n\nThe contents of the response are put into an `HttpError` in `HttpRequest.execute` but the `_get_reason` expects `{\"error\": ...}` directly instead of `[{\"error\": ...}]` so it is crashing with \n\n```\n\u003ctype 'str'>: (\u003ctype 'exceptions.TypeError'>, TypeError('list indices must be integers, not str',))\n```\n\nI'm not sure if there is a valid reason to have a list of errors and the client code should support it or if the server code should return a single error with the \"errors\" subelement filled in (as it is).\n","author":{"url":"https://github.com/AlexRiina","@type":"Person","name":"AlexRiina"},"datePublished":"2016-05-05T18:17:40Z","url":"https://github.com/googleapis/google-api-python-client/issues/225"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5bbaacbd-0515-1246-c245-116e27a69ebb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD7E0:1652B0:3830EC:4B9689:6B0089D8
html-safe-nonceabf25609f37c03e28f03653fdf00b74021cb749e318236fd5510c4956008da53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0UwOjE2NTJCMDozODMwRUM6NEI5Njg5OjZCMDA4OUQ4IiwidmlzaXRvcl9pZCI6IjI4ODU2MTkwMzEzODgyMjgwNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0a67dd6103c900a22922c0f7165d5fe492bb810f3fa599069c3cd813360fd2fa
hovercard-subject-tagissue:153290982
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-api-python-client/225/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ff6a2028aac516cee632be21711f153780e577d867695507d7d03a77cd2cf612/googleapis/google-api-python-client/issues/225
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ff6a2028aac516cee632be21711f153780e577d867695507d7d03a77cd2cf612/googleapis/google-api-python-client/issues/225
og:image:altFrom the discover tools, media().download(...) is triggering a request to https://youtubereporting.googleapis.com/v1/media/test?alt=json which is returning a 400 for me with the following content: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexRiina
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-api-python-client git https://github.com/googleapis/google-api-python-client.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id15749269
octolytics-dimension-repository_nwogoogleapis/google-api-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15749269
octolytics-dimension-repository_network_root_nwogoogleapis/google-api-python-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-api-python-client/issues/225#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fissues%2F225
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fissues%2F225
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-api-python-client
Reloadhttps://github.com/googleapis/google-api-python-client/issues/225
Reloadhttps://github.com/googleapis/google-api-python-client/issues/225
Reloadhttps://github.com/googleapis/google-api-python-client/issues/225
googleapishttps://github.com/googleapis
google-api-python-clienthttps://github.com/googleapis/google-api-python-client
Codehttps://github.com/googleapis/google-api-python-client
Issues18 (18)https://github.com/googleapis/google-api-python-client/issues
Pull requests39 (39)https://github.com/googleapis/google-api-python-client/pulls
Discussionshttps://github.com/googleapis/google-api-python-client/discussions
Actionshttps://github.com/googleapis/google-api-python-client/actions
Projectshttps://github.com/googleapis/google-api-python-client/projects
Security and qualityhttps://github.com/googleapis/google-api-python-client/security
Insightshttps://github.com/googleapis/google-api-python-client/insights
https://github.com/googleapis/google-api-python-client
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-api-python-client/issues/225
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-api-python-client/issues/225
YouTube Reporting media().download(...) 400 content breaks HttpError._get_reasonhttps://github.com/googleapis/google-api-python-client/issues/225#top
https://github.com/bantini
🚨This issue needs some love.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22%3Arotating_light%3A%22
triage meI really want to be triaged.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22triage%20me%22
https://github.com/AlexRiina
AlexRiinahttps://github.com/AlexRiina
on May 5, 2016https://github.com/googleapis/google-api-python-client/issues/225#issue-153290982
AlexRiinahttps://github.com/AlexRiina
on May 5, 2016https://github.com/googleapis/google-api-python-client/issues/225#event-651796228
AlexRiinahttps://github.com/AlexRiina
on May 5, 2016https://github.com/googleapis/google-api-python-client/issues/225#event-651797501
https://github.com/bantini
bantinihttps://github.com/bantini
on Jan 29, 2018https://github.com/googleapis/google-api-python-client/issues/225#issuecomment-361376319
@ittushttps://github.com/ittus
bantinihttps://github.com/bantini
completedhttps://github.com/googleapis/google-api-python-client/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 29, 2018https://github.com/googleapis/google-api-python-client/issues/225#event-1447183718
yoshi-automationhttps://github.com/yoshi-automation
triage meI really want to be triaged.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22triage%20me%22
🚨This issue needs some love.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22%3Arotating_light%3A%22
on Apr 7, 2020https://github.com/googleapis/google-api-python-client/issues/225#event-3209767611
JustinBeckwithhttps://github.com/JustinBeckwith
bantinihttps://github.com/bantini
on Feb 1, 2021https://github.com/googleapis/google-api-python-client/issues/225#event-4275316054
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-api-python-client/issues/225
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-api-python-client/issues/225
bantinihttps://github.com/bantini
🚨This issue needs some love.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22%3Arotating_light%3A%22
triage meI really want to be triaged.https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22triage%20me%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.