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
CastroRibeiro
Helper I
Helper I

Anonymous Web Source asking for credentials

I have two databases that are updated via getaway, normally, only this API that has an authentication problem, even though the API does not need authentication.

In powerbi desktop I can update normally, when I upload to the service it starts to give the problem

 

My code:

let
    Source = Json.Document(Web.Contents("https://ceo.xyz.com.br/api/programacao/painel_todos.php")),
    #"Converted to Table" = Table.FromRecords({Source}),
    #"Expanded data" = Table.ExpandListColumn(#"Converted to Table", "data"),
    #"Expanded data1" = Table.ExpandRecordColumn(#"Expanded data", "data", {"unidade", "rebocador", "data_inicio", "data_fim", "observacao", "setor", "tarefa"}, {"unidade", "rebocador", "data_inicio", "data_fim", "observacao", "setor", "tarefa"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Expanded data1",{{"data_inicio", type datetime}, {"data_fim", type datetime}})
in
    #"Changed Type"

 

APICEO.png

1 REPLY 1
GilbertQ
Super User
Super User

Hi @CastroRibeiro 

 

It appears that it cannot connect to the website from your gateway server. What happens if you log into the Gateway server and try and connect to the website from there?

 

Possibly something needs to be configured from your gateway server?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.