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
Junaid11
Helper V
Helper V

API not connecting with API key error

Hello,

I was connecting my API of Active Campaign with API key .I put my Active Campaign API Url in web then selected WEB API then got below error. Kindly let me know Am I making any mistake or is there any issue with it. My API Url is below:

https://gopermation.api-us1.com/

Issue that I am getting is below after putting API Key:drrrrrnn.PNG

Help would be appreciated.

Thank you

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

Hi, @Junaid11 

Please refer to these related threads.

A web API key can only be specified when a web API key name is provided 

OData error message a web api key can only be specified when a web api key name is provided 

As mentioned by yingyinr , you can try to select Basic, enter your app's API key as the Username, and press Connect

 


The API key DEMO_KEY can be passed in three different ways, depending on whether you prefer to use the URL, a header, or basic authentication.

  1. Custom header: provide the API key in the custom header X-Api-Key
  2. Query parameter: provide the API key in the URL parameter api_key
  3. Basic authentication: provide the API key as either username or password. If you provide both, the API key must be in the username.

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Junaid11 

Please refer to these related threads.

A web API key can only be specified when a web API key name is provided 

OData error message a web api key can only be specified when a web api key name is provided 

As mentioned by yingyinr , you can try to select Basic, enter your app's API key as the Username, and press Connect

 


The API key DEMO_KEY can be passed in three different ways, depending on whether you prefer to use the URL, a header, or basic authentication.

  1. Custom header: provide the API key in the custom header X-Api-Key
  2. Query parameter: provide the API key in the URL parameter api_key
  3. Basic authentication: provide the API key as either username or password. If you provide both, the API key must be in the username.

Best Regards,
Community Support Team _ Eason

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.