gpt4 book ai didi

ios - 谷歌 API : YouTube video uplaod error = 403

转载 作者:行者123 更新时间:2023-11-29 10:33:57 26 4
gpt4 key购买 nike

我在将视频上传到 youtube 时遇到以下错误,

YouTube-API-Demo[654:60b] Video Upload failed : Error Domain=com.google.GTLJSONRPCErrorDomain Code=403 "The operation couldn’t be completed. (Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.)" UserInfo=0x16e922e0 {error=Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration., GTLStructuredError=GTLErrorObject 0x16daee10: {message:"Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration." code:403 data:[1]}, NSLocalizedFailureReason=(Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.)}

请帮我解决这个问题。

最佳答案

您是否为您正在使用的应用程序启用了 Youtube 数据 API? https://console.developers.google.com/project

您会在那里看到一个项目列表,您必须激活每个项目的 API。

enter image description here

否则可能会有IP限制。您可以将您的 App Token 限制为仅允许特定 IPS 的访问。默认为“允许所有 IP”。某处有一个“访问”选项卡。

关于ios - 谷歌 API : YouTube video uplaod error = 403,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28041299/

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