Forum Discussion
Power BI Web return Credential Invalid Error on Anonymous Access of API URL.
Hi mbarragan,
This is what I wanted to mean with "Five of theses sources are an API that returns a different .CSVs depending on specifics parameters in the URL.". My queries don't access to data inside a function, I've only specified new data sources in the query editor.
Indeed, I knew exactly what you are trying to do.:smileyhappy: As you are requesting your server with parameters to get data, there should be a function in your server to accept the parameter, then returns different .CSVs depending on the specific parameter, right? Because Power BI is doing static analysis of the query to discover the data source, and the static analysis can't yet handle this scenario currently.
Regards
Hi v-ljerr-msft,
The different sources from Google Storage since the schedule refresh work fine, we've tried to liken the API URLs to the Google Storage URLs:
GoogleStorage (works fine):
https://storage.googleapis.com/bucket1/tmp/0009518e.csv
https://storage.googleapis.com/bucket1/tmp/8197581r.csv
API - without url parameters (Doesn't work):
https://us-central1-project1.cloudfunctions.net/0009518e
https://us-central1-project1.cloudfunctions.net/8197581r
Could you explain why the schedule refresh works fine for the first one way, but for the second one way the credentials error is appeared? Is it due to the second one returns a url redirection to a .csv and the first one it's just a .csv?
Thanks and best regards,
Marcos.