Forum Discussion
Rest API connection with Proofpoint
- 4 years ago
Hi Ramendra ,
Please review the content in the following links, hope they can help you resolve the problem.
1. Get data from web error: A web API key can only be specified when a web API key name is provided
Solution:
- Open Power BI Desktop and on the Home tab, select Get data and choose the Web option.
- Paste your metric query's URL into the Power BI dialog asking for the Web page URL.
- In the Access web content dialog, select Basic, enter your app's API key as the Username, and press Connect
Solution: Add ApiKeyName = "ApiKey" as part of the 3 parameter of using OData.Feed
let Source = OData.Feed("https://localhost/odata", null, [Implementation="2.0", ApiKeyName = "ApiKey"]), Table_table = Source{[Name="Table",Signature="table"]}[Data] in Table_table3. A web API key can only be specified when a web API key name is provided
Did I answer your question? Mark my post as a solution!
Best RegardsLucien
Hi Ramendra ,
Please review the content in the following links, hope they can help you resolve the problem.
1. Get data from web error: A web API key can only be specified when a web API key name is provided
Solution:
- Open Power BI Desktop and on the Home tab, select Get data and choose the Web option.
- Paste your metric query's URL into the Power BI dialog asking for the Web page URL.
- In the Access web content dialog, select Basic, enter your app's API key as the Username, and press Connect
Solution: Add ApiKeyName = "ApiKey" as part of the 3 parameter of using OData.Feed
let
Source = OData.Feed("https://localhost/odata", null, [Implementation="2.0", ApiKeyName = "ApiKey"]),
Table_table = Source{[Name="Table",Signature="table"]}[Data]
in
Table_table
3. A web API key can only be specified when a web API key name is provided
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien