System.net.webexception 在 system.dll

System.net.webexception in system.dll

我已经按照本教程更新了 powerbi 仪表板 here

我已经从微软网站上复制了所有代码。当然我已经提供了我自己的 clientId.

控制台应用程序成功创建数据集,但未向 table 添加行。

这里失败了:

var response = (HttpWebResponse)request.GetResponse();

An unhandled exception of type 'System.Net.WebException' occurred in System.dll

Additional information: The remote server returned an error: (404) Not Found.

您查询的URL错误或不存在。检查您正在查询的 API 的文档,以确保您正确构建了 URL.

PowerBI API 从这里开始:https://msdn.microsoft.com/library/dn877544.aspx