gpt4 book ai didi

ios - No Linked You tube account, Code=401 "The operation couldn’ t 完成。搜索视频时

转载 作者:行者123 更新时间:2023-11-29 02:56:49 25 4
gpt4 key购买 nike

我使用的是 YouTube 数据 API 2.1。

当我在没有登录的情况下搜索视频时,一切正常,我列出了所有视频。但是当我尝试使用未链接的谷歌帐户登录后进行搜索时,我得到了

Error Domain=com.google.HTTPStatus Code=401 "The operation couldn’t be completed. ( NoLinkedYouTubeAccount

NoLinkedYouTubeAccount

Error 401

)" UserInfo=0x67cb240 {error= NoLinkedYouTubeAccount

NoLinkedYouTubeAccount

Error 401

, NSLocalizedFailureReason=( NoLinkedYouTubeAccount

NoLinkedYouTubeAccount

Error 401

)}

但是当我创建 channel 时它运行良好。

注销时它是如何工作的,因为这不需要用户 ID:( 。此外,对于搜索公共(public)数据,不需要文档中指定的用户 ID。

有人遇到过同样的问题吗?还是我完全错了?请提供一些指导。

最佳答案

查看最后一条评论 here :

Previously, when using v=2.1 of the YouTube Data API, a "lightweight" YouTube channel would be automatically created when there isn't already a channel for a specific Google Account.

With the transition to linking channels with Google+ profiles, that functionality has been retired. There are no longer auto-created channels, and if you're getting that error, it's because there really isn't an existing channel.

该问题的状态为 WontFix,API 2.x 已为 marked已弃用,我想您的解决方案是开始使用最新的 API。

关于ios - No Linked You tube account, Code=401 "The operation couldn’ t 完成。搜索视频时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23781030/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com