Forum Discussion
Error getting token for external web API (RingCentral)
- 5 years ago
I posted earlier today on a similar question involving get a token and using it in a subsequent web call. Please see if the pbix attached to that helps you out on this one.
Re: Twitter API to Power BI - Microsoft Power BI Community
Regards,
Pat
- 5 years ago
You probably can't adapt the Twitter example directly and have it work with your RingCentral one. I shared it as an example of dynamically getting an access token and then using it in query web calls. How long does your access token last? Are you able to do queries with the token hard-coded in?
You should be able to see the actual web calls Power BI is making using Fiddler and maybe also with the Query Diagnostics tool within Power BI.
I noticed that RingCentral has an API explorer to learn about use of their API. Have you read all their documentation and used that explorer?
Regards,
Pat
You probably can't adapt the Twitter example directly and have it work with your RingCentral one. I shared it as an example of dynamically getting an access token and then using it in query web calls. How long does your access token last? Are you able to do queries with the token hard-coded in?
You should be able to see the actual web calls Power BI is making using Fiddler and maybe also with the Query Diagnostics tool within Power BI.
I noticed that RingCentral has an API explorer to learn about use of their API. Have you read all their documentation and used that explorer?
Regards,
Pat
- SlavaSha75 years agoHelper I
mahoneypat thank you for your help!
I installed Fiddler and found that the issue was with the symbol "+" on my password that was encoded incorrectly. I changed the password and it works now.
Recently I was able to run on Power BI getting data with hardcoded token and obtain token via Postman. Now it works on Power BI as well.
Thank you!
Slava