Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
emartchenko
Regular Visitor

Getting Data from Lessonly API using Web Data Source

Hi all,

 

I've been attempting to use the Web API in PowerBI to get JSON formatted data from Lessonly, however having tried numerous URLs I keep getting the same error - 

emartchenko_0-1629916311917.png

I've confirmed that there are contents to get via cmd, which spits out the JSON output as you'd expect.

The only real difference between this API and others I've seen is that the subdomain is meant to be input alongside the API key, like so:

emartchenko_1-1629916441496.png

 

So in the dialog window for the api key, I've input it as such:

emartchenko_2-1629916566700.png

 

Without the " " on either side, the credentials are invalid. 

 

I don't think this is a Lessonly issue, as the data is present, however any input regarding why PowerBI can't seem to find it would be appreciated. 

 

Thank you!

5 REPLIES 5
JanMichaelBeran
Regular Visitor

Did you ever get this resolved? Started trying to call the API from PBI today and getting the same issue.

please show a sanitized version of your Power Query code

 

V-pazhen-msft
Community Support
Community Support

@emartchenko 

Check the post to find out how to add the credential into the Headers[].Solved: Remote API Access to data source sudden errors - Microsoft Power BI Community

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Use Anonymous connection and specify the credentials in the Headers section or the Content section of the Web.Contents() call

 

Web.Contents - PowerQuery M | Microsoft Docs

Hi there,

Here is my query:

emartchenko_0-1630422830647.png

But the results are now:

 

emartchenko_1-1630422871884.png

Am I doing something incorrectly?

 

Thank you for your help!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.