YouTube Data API
relatedToVideoId query parameter removal on GET /youtube/v3/search
Stopped workingSubscribe to YouTube Data APIShare
On August 7, 2023, the query parameter relatedToVideoId on GET /youtube/v3/search stopped working. Requests using this parameter began to fail after that day. The parameter was deprecated following an announcement on June 12, 2023.
Calls it hits
GET /youtube/v3/searchquery parameter relatedToVideoId
What to use instead of these calls
No replacement is given. You must drop the relatedToVideoId parameter from your requests.
In YouTube Data API's words
The search.list method's relatedToVideoId parameter has been deprecated. YouTube will stop supporting the parameter as of August 7, 2023.
Facts
- API
- YouTube Data API
youtube.googleapis.com - Kind
- Parameter removal
- Announced
- June 12, 2023
- Takes effect
- August 7, 2023
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against YouTube Data API's own pages
Questions
When does this change take effect?
Calls to GET /youtube/v3/search, query parameter relatedToVideoId on YouTube Data API stopped working on August 7, 2023.
What happens to calls after August 7, 2023?
They have failed since August 7, 2023.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from YouTube Data API 3
-
POST /youtube/v3/comments/markAsSpamEndpoint removal Stopped working -
/youtube/v3/captionsParameter removal Stopped working -
GET /youtube/v3/commentThreadsParameter removal Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.