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

Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors
Top Kudoed Authors