We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Connect to the API-SPORTS not working for a missing API Key

camillb
8 - Asteroid

Hi all!

 

I am trying to connect to an API following this documentation and using the download tool: https://www.api-football.com/documentation-v3#section/Introduction

 

For some reason it continue gives me the same error again and again: 

 

{"get":"countries","parameters":{"apikey":"a188c2752786960a3ca794650be6a808"},"errors":{"token":"Error\/Missing application key. Go to https:\/\/www.api-football.com\/documentation-v3 to learn how to get your API application key."},"results":0,"paging":...

 

I'll leave some pictures of my current configuration:

 

Captura 1.PNG

Captura 2.PNG

Captura 3.PNG

 

Thank you all in advance!

  

3 REPLIES 3
mceleavey
17 - Castor
17 - Castor

@TheOC , Any ideas?

 

M.



Bulien

danilang
19 - Altair
19 - Altair

Hi @camillb 

 

As it says in the docs, the header has to called x-apisports-key if you're connecting through API sports.  If you're  connecting though rapidapi, you need both x-rapidapi-host and x-rapidapi-key  Rename your [apikey] field to match the method that you're using.

 

Dan

camillb
8 - Asteroid

It does work! 

Thank you @danilang!

Labels
Top Solution Authors