问题描述
我是数据分析的新手,我正在使用PowerBi Desktop2019.我正尝试通过newsapi.org的API调用获取数据
I'm a noob at data analytics, I am using PowerBi Desktop 2019. I am trying to get data via API call from newsapi.org
我已经研究了HTTP错误(426),但是我不知道这是什么意思或如何解决该错误:
I have researched the HTTP error (426) but I don't know what it means or what to do to fix it:
服务器必须在426响应中发送Upgrade标头字段,以指出所需的协议"
The server MUST send an Upgrade header field in a 426 response to indicate the required protocol(s)"
这是我进行API调用时在PowerBi中遇到的错误(我在下面的示例中加扰了我的API密钥)
Here is the error I get in PowerBi when I make the API call (I scrambled my API key in the example below)
推荐答案
我找到了我认为的答案...
I found the answer I think ...
当我只需要一个月的数据时,它就可以正常工作.
When I call for just one month's wort of data, it works fine.
在这种情况下,我假设需要升级"表示我无法使用当前方法来调用更多数据,而必须从newsapi.org获得不同的(付费)授权
I am assuming "Upgrade required" in this instance means I can't use the current method to call for more data and have to get a different (paid) authorisation from newsapi.org
这篇关于(426):newsapi.org的需要升级错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!