Google API未经身份验证的错误

问题描述 投票:0回答:1

我只想尝试使用google api rest资源:

curl -X GET https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=Miniac&maxResults=1&order=date&type=video&key={API_KEY}

我看到的错误是:

"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use

这通常是一个问题,因为您的API密钥所在的项目未启用youtube API,但就我而言,它是。我还缺少什么?

rest google-api youtube-api
1个回答
0
投票

我只需要在URL周围加上引号。

© www.soinside.com 2019 - 2024. All rights reserved.