Okapi Okapi

YouTube Data API channelId query parameter removal on GET /youtube/v3/commentThreads

Stopped workingSubscribe to YouTube Data APIShare

On April 30, 2024, the YouTube Data API stopped supporting the query parameter channelId on GET /youtube/v3/commentThreads. Following this removal, calls relying on this parameter fail. The change reflects that the API no longer supports retrieving channel discussions.


Calls it hits

  • GET /youtube/v3/commentThreads
  • query parameter channelId

What to use instead of these calls

To read comments on a channel's videos, switch to using allThreadsRelatedToChannelId. Channel discussions themselves have been removed and have no replacement.

YouTube removed channel discussions; nothing replaces reading them.

In YouTube Data API's words

The API no longer supports the ability to insert or retrieve channel discussions.

YouTube Data API, Announcement

Facts

API
YouTube Data API youtube.googleapis.com
Kind
Parameter removal
Takes effect
April 30, 2024
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/commentThreads, query parameter channelId on YouTube Data API stopped working on April 30, 2024.

What happens to calls after April 30, 2024?

They have failed since April 30, 2024.

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

  1. GET /youtube/v3/searchParameter removal Stopped working
  2. POST /youtube/v3/comments/markAsSpamEndpoint removal Stopped working
  3. /youtube/v3/captionsParameter 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.

Add to GitHub

Get notifications

Subscribe to YouTube Data API

Hear about each breaking change YouTube Data API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • YouTube Data API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.