使用Google Books API时出现错误状态码:403

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

所以我正在使用Google Books API,我的代码如下:

 axios
  .get(
    "https://www.googleapis.com/books/v1/volumes?q=" +
      this.props.categoryName +
      "&key=myKey"
  )
  .then((response) => {
    console.log(response);
  })
  .catch((err) => console.error(err));

使用此API时,出现以下错误:

enter image description here

[我在网上做了一些研究,这就是说,当我们从给定的API密钥发出太多请求时,会收到此错误,但到目前为止我只发出了5次,仍然会引发此错误。

任何帮助将不胜感激。谢谢!

reactjs api google-api http-status-code-403 google-books
1个回答
0
投票
The default limit is 1,000 per day.
© www.soinside.com 2019 - 2024. All rights reserved.