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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors