I'm attempting to sign up for a webhook (receiving notifications) on YouTube, but I keep encountering the error message Invalid value for hub.mode
, despite confirming that it is set as "subscribe."
Below is the content of my request:
{
"hub.callback": "http://x.x.x.x:xxxx/xxxxxxx",
"hub.topic": "https://www.youtube.com/xml/feeds/videos.xml?channel_id=x",
"hub.verify": "async",
"hub.mode": "subscribe",
"hub.verify_token": verifyToken,
"hub.secret": secret,
"hub.lease_seconds": 864000
}
I also attempted using capitalized letters, but that did not resolve the issue. Do you have any suggestions or insights on why this may be happening? While my explanation is brief and lacks additional context, I am unable to provide more details at this time. Any assistance would be greatly appreciated.