When I hard code my API key into the header of my web call
Headers=[#"X-Api-Key"="XXXX"] it works but if I use ApiKeyName="X-Api-Key" and I get promoted for the API I am getting "The user was not authorized" despite the API key been correct.
What am I missing here?