uba2012
uba2012

Reputation: 385

System.net.webexception in system.dll

I have followed this tutorial to update a powerbi dashboard here.

I have copied all the code from Microsoft's website. Of course I have supplied my own clientId.

The console application successfully creates a dataset, but does not add rows to the table.

It fails here:

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.

Upvotes: 2

Views: 8997

Answers (1)

Luke Schoen
Luke Schoen

Reputation: 763

The URL you are querying is wrong or no longer exists. Check the documentation for the APIs you are querying to make sure you are properly constructing the URL.

Start here for PowerBI APIs: https://msdn.microsoft.com/library/dn877544.aspx

Upvotes: 3

Related Questions