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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AnotherBIUser
Frequent Visitor

Establishing Seismic API "A web API key can only be specified when a web API key name is provided."

Hello,

 

I am having an issue with my API.

 

I am attempting to connect the Sales Tracking software Seismic to PowerBI via an API. I have gotten the API link (https://api.seismic.com/reporting/v2/userActivity) (documentation here: https://developer.seismic.com/seismicsoftware/reference/reporting-useractivityget) and the API key (documentation here: https://developer.seismic.com/seismicsoftware/docs/authentication-1 ). However, when I try to use these in the "Access Web Content" integration I receive the following error:

AnotherBIUser_0-1697824983925.png

I have tried using the key in the Basic tab's Username field but no luck with those attempts. I have additionally tried to add the work "Bearer" infront of the key to see if that would work as it is required in access through other softweare (python, Ruby etc) with no success.

 

Any help is appreciated.

4 REPLIES 4
ImkeF
Super User
Super User

Hi @AnotherBIUser ,
instead of Bearer, you need to use "Authorization" and then add "Bearer " in front of the token like described in the API docs here:

ImkeF_0-1698075632468.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

ImkeF
Super User
Super User

Hi @AnotherBIUser ,
instead of using the "Web Api" authentication method, you have to use "Anonymus" and pass the access token in the headers in instead.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Hi @ImkeF,

 

Where can I access the headers in the Anonymous authenitcation method?

AnotherBIUser_0-1698066926002.png

Thanks!

Got the headers and added the key there, but I still cannot access Seismic. Am I doing something wrong?

AnotherBIUser_1-1698067150027.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors