Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
WatsonJ
New Member

Get Data from Cisco Spark WebEx Teams via REST API

Hello!!!  I am trying to connect to the Cisco Spark instance for WebEx Teams via their REST API. 

I put the URL and the Authorization header parameter (access token) into the Web connector:

2020-04-15_17-13-12.jpg

After I select the OK button, I get the following error:

2020-04-15_17-18-50.jpg

 

Has anyone seen this error before or been succesful in connecting to the Cisc Spark Webex instance?

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @WatsonJ ,

 

You could configure the connection manually with m query.

 

let
Source = Json.Document(Web.Contents("insert the URL here you used to in the regular way, and add ", [Headers=[Authorization="Basic insert your token here="]])),
issues = Source[issues],
in
Source 

 

Here is a similar case for your reference:

https://community.powerbi.com/t5/Desktop/REST-API-web-data-source-Authentication-Header-is-gone/m-p/...

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @WatsonJ ,

 

You could configure the connection manually with m query.

 

let
Source = Json.Document(Web.Contents("insert the URL here you used to in the regular way, and add ", [Headers=[Authorization="Basic insert your token here="]])),
issues = Source[issues],
in
Source 

 

Here is a similar case for your reference:

https://community.powerbi.com/t5/Desktop/REST-API-web-data-source-Authentication-Header-is-gone/m-p/...

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

I used your query, but the only thing I changed was the word "basic" to "bearer", which apparently Cisco Spark needs.  As soon as I figured that out, it worked!  Hopefully if anyone searches for the meta tags on this question, they can find this solution useful.  Thanks again!

SteveCampbell
Memorable Member
Memorable Member

What's the authorization flow? From the site it looks there's a couple of ways - does the token have an expiry? It looks like they do, you'll need to generate a valid token first



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Greg_Deckler
Community Champion
Community Champion

Pretty sure that Anonymous is not the way to go here. Just going to it in a web browser returns:

{"message":"The request requires a valid access token set in the Authorization request header.","errors":[{"description":"The request requires a valid access token set in the Authorization request header."}],"trackingId":"ROUTER_5E9783E2-D7C3-01BB-40F0-18D0D9BE40F0"}

So, I'm guessing Web API and you probably need to generate an access token in same manner.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.