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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.