Forum Discussion

IgorCanabarro's avatar
IgorCanabarro
Regular Visitor
5 years ago

The credentials provided for the Web source are invalid (API Key connection)

Hello everyone!

 

I have a report and one of the data sources is a CSV string with an API key connection. Everything runs fine on PBI Desktop, but on Service the refresh keeps giving me error messages. I have looked at all related posts but any give me a clear idea of what to do in my case.

 

The source comes from:

let

Source = Csv.Document(Web.Contents("https://eco.helmconnect.com/api/v1/jobs/reports/tables/csvlink?configId=255324e3-60b1-11ea-8255-f5a3932b4801&timezone=America%2FSao_Paulo
", [ApiKeyName= "apikey"]),[Delimiter=",", Encoding=65001, QuoteStyle=QuoteStyle.Csv]),

#"Promoted Headers" = Table.PromoteHeaders(Source)
in
    #"Promoted Headers"

 

I use 3 different CSV strings as above that I merge in one table in PBI.

let
    Fonte = Table.Combine({#"Tasks year to date", #"Tasks 2020", #"Tasks 2019"}),

 

Updating and getting data in Desktop is working well.

 

The problem is when refreshing on Service:

 

Anyone can give me guidance on what I am doing wrong? I'm such new in Power BI Service.

 

 

 

3 Replies