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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DazBox_za
Frequent Visitor

Web API query suddenly stopped working with 400 error

I have a PBIX file that updates a dashboard with information from multiple sources. I've been refreshing this dataset daily without any issues for a few months without any issues.

This recently (seemingly out of nowhere - no changes have been made) stopped working due to an issue with one of the Rest API queries. The strange thing is that this query still works perfectly if i make the call through Excel's Power Query, but not in PBI Desktop.

Here's the query:

Let

Source = Json.Document(

Web.Contents(

"https://app.wavo.co/api/v1/campaigns",

[Headers=[

#"Content-Type"="application/json",
Accept="application/json",
Authorization="Bearer [API KEY]"

]])),

data = Source[data],
#"Converted to Table" = Table.FromList(data, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
in

#"Converted to Table"

This is the error I get (Note: The query has not been altered since last it worked):

Screenshot_1.jpg

...Any ideas?

 

1 REPLY 1
v-alq-msft
Community Support
Community Support

Hi, @DazBox_za 

 

I wonder if you are using the lastest Power BI version. You can get the latest Power BI Desktop in two ways, each of which is described in the following sections:

 

You may check if there are changes made in Power Query in Power BI.

 

Best Regards

Allan

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.