Forum Discussion
PowerBi refresh hits non-existent endpoint.
Hi you all!
I've encountered 2 problems when interacting with PowerBI. When I do a data refresh in PowerBI Desktop everything is fine but when I use manual refresh in PowerBI Service It makes some redundant calls.
To get the data from our endpoint We have to authenticate first in a different endpoint.
Firstly I call exampe.com/auth with proper parameters to get the token.
Then I call example.com/data with that token to get the data.
When I hit refresh in Live metrics I can see that for some reason PowerBi calls example.com/data without token gets back 401 obviously, then It tries to call example.com/data/web which obviously does not exist. After that It of coure hits the endpoints with correct creds and gets the data from the enpoint. Can we get rid of those 401s and 404s?
3 Replies
- v-deddai1-msftCommunity Support
Hi Anonymous ,
I don't think there is a way to get rid of 401 and 404. It seems that 401 is uesd for authorization. 404 indicates that the client (web browser) is receiving a message from the server (remote computer)that the specific resource (web page/URL).
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
- AnonymousNot applicable
I'm not sure If I understand it correctly. Why is PowerBi try to call my protected API without the key? It's not coded that way. Secondly why is it trying to reach /web? Why does it think an endpoint like this might exist?
- v-deddai1-msftCommunity Support
Hi Anonymous ,
It could be cache issue. Would you please try to clear the broswer cache and try refresh again and trigger if there is token getting steps.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai