cancel
Showing results for 
Search instead for 
Did you mean: 
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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.