Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Power BI Service error refreshing data

ear friends,

I created a function to perform a dynamic query to an API of the supplier of a software used by my company.

Following guidelines obtained through forums, I am using the RelativePath option to trigger the parameters that will be passed to the API.

In PowerQuery of Power BI Service the function is working correctly, updating the data of the table that makes its call.

However, when I try to update the data stream, I have received error notifications, but without a specific cause, which makes any type of analysis impossible.


Does anyone know how to solve this kind of problem?


Below is the code of the created function.


Json.Document(Web.Contents( "",
[RelativePath = "/api/objectives/"&idOKR&"/keyresults",Headers=[Authorization=TokenAPI]]))

Community Support
Community Support

Hi @Genival_Junior 


Can you help clarify what is the "data stream" you try to update? Currently I'm not sure what it refers to in the service. 


Best Regards,
Community Support Team _ Jing

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors