Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62102

Power BI Online return Credential Invalid Error on Anonymous Access of API URL

$
0
0

I can update the table usually byPowerBIDesktop.
Using this (example):

 

let
    url = #"@LINK_WS"
        & "LOGIN=" & #"@LOGIN"  
        & "&SENHA=" & #"@SENHA"
        & "&NOME=WS_SC_LOTE_ATIV"
        & "&DATA_INICIO=2015-01-01"
        & "&DATA_TERMINO=2016-12-01",

    Source = Xml.Tables(Web.Contents(url)),
    
    Table0 = Source {0}[Table],
    #"Tipo Alterado" = Table.TransformColumnTypes(Table0,{{"COD_LOTE", Int64.Type}, {"COD_ITEM", Int64.Type}, {"QUANTIDADE", type number}, {"VALOR_UNITARIO", type number}})
in
    #"Tipo Alterado"


But I can't update thePowerBIOnlinebecause itis returningthe error below:

 

 

Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.Hide details

Activity ID:be69162c-e02e-9249-c9b0-64b362864e72
Request ID:0a540359-b538-586b-4441-9c2442d04d13
Status code:200
Time:Wed Jul 27 2016 11:32:09 GMT-0300 (Hora oficial do Brasil)
Version:13.0.1500.472



More information:

  • My Personal Gateway is working ON
  • When click on"edit credentials"PowerBIOnlinereturnsa dialog box.If Ikeep the"Anonymous"optionand click"Sign In" worksnormally and the error disappears, butwhen trying to usethe "RefreshNow"keeps returning the same error.
  • The API URL don't works with credentials.
  • The API URL return a XML table.
 .

Viewing all articles
Browse latest Browse all 62102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>