Okapi Okapi

YouTube Data API POST /youtube/v3/comments/markAsSpam endpoint removal

Stopped workingSubscribe to YouTube Data APIShare

On September 12, 2023, the endpoint POST /youtube/v3/comments/markAsSpam was removed and is no longer supported. Calls to this endpoint fail. YouTube Data API noted that this method is already unsupported on YouTube and through the API.


Calls it hits

  • POST /youtube/v3/comments/markAsSpam

What to use instead of these calls

There is no replacement available, and callers must stop calling comments.markAsSpam.

In YouTube Data API's words

This method is already unsupported on YouTube and is no longer supported through the API.

YouTube Data API, Announcement

Facts

API
YouTube Data API youtube.googleapis.com
Kind
Endpoint removal
Announced
September 12, 2023
Takes effect
September 12, 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 POST /youtube/v3/comments/markAsSpam on YouTube Data API stopped working on September 12, 2023.

What happens to calls after September 12, 2023?

They have failed since September 12, 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

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

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.