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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

 

Anonymous
Not applicable

@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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors