Google API: YouTube 视频上传错误 = 403
Google API: YouTube video uplaod error = 403
我在将视频上传到 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
您会在此处看到一个项目列表,您必须为每个项目激活 APIs。
否则可能会有IP限制。您可以将您的 App Token 限制为仅允许特定 IPS 的访问。默认值为 "allow all IPs"。某处有一个 "Access" 标签。
我在将视频上传到 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
您会在此处看到一个项目列表,您必须为每个项目激活 APIs。
否则可能会有IP限制。您可以将您的 App Token 限制为仅允许特定 IPS 的访问。默认值为 "allow all IPs"。某处有一个 "Access" 标签。