migueesc123 / PowerBIRESTAPI

A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API
MIT License
237 stars 74 forks source link

Unable to signin #166

Closed kishorekumar737 closed 1 year ago

kishorekumar737 commented 1 year ago

hi, Can anyone help with below issue? I am using Odata feed option in PowerBI . I am able to run the Odata url (sap) from browser however when i run it from PowerBI using Basic Authentication method. it throws me error , unable to authenticate the credentials provided. i turned ON the trace at PowerBI side . the trace captures below error I donot find any issue when i run the query directly in sap system or from browser or gateway client . the issue occurs only when i run the odata feed url from PowerBI Thanks in advance!

image The remote server returned an error: (401) Unauthorized.\r\nStackTrace:\n at Microsoft.Mashup.Engine1.Library.Http.WrappingHttpWebRequest.WrapExceptionResponse[T](Func1 getValue)\r\n at Microsoft.Mashup.Engine1.Library.OData.ODataRequest.GetResponse(WebRequest webRequest)\r\n at Microsoft.Mashup.Engine1.Library.Http.Request.ManualRedirect(IEngineHost host, String resourceKind, Uri uri, CreateWebRequestDelegate createRequest, Func2 createResponse, WebRequest& webRequest, Int32[] nonErrors)\r\n at Microsoft.Mashup.Engine1.Library.OData.ODataRequest.<>c__DisplayClass23_0.b__0()\r\n at Microsoft.Mashup.Engine1.Library.Http.RetryPolicy.Execute[TResult](IEngineHost host, Func`1 func)\r\n at Microsoft.Mashup.Engine1.Library.OData.ODataRequest.GetResponseStream(IHostTrace trace, String key, Boolean tokenRefreshed)\r\n\r\n\r\n","Exception":"Exception:\r\nExceptionType: Microsoft.Mashup.Engine.Interface.ResourceAccessAuthorizationException, Microsoft.MashupEngine, Version=1.0.0.0

migueesc123 commented 1 year ago

Hey, this question falls out of the scope of what this repo encompasses. Please use the Power BI community forum to post this question.

kishorekumar737 commented 1 year ago

thanks for your response. will post it Powerbi community