Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Set API Key from Cell Value

Hi -- very new to Power Query. Like started this morning. So I hope this is the right place to ask the question. 🙂     In Excel I've created a query that gets data from a website using an API call...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I got this to work!  I had to go to the Data Source Settings and edit permissions. I set Credentials to 'Anonymous' and Privacy Level to 'Private'. I set both the Current Workbook and the web page to match. Then everything worked. I'm not really sure why because I doesn't appear that I changed anything, but I think I must have had some set to private and some to public, and they couldn't work together as a result. That's what I get for being a noob.  

    Anyway, this will make it a lot easier for end users to put their API Key into a cell on a setup worksheet rather than having to go in and edit the queries. I hope someone find this helpful.

    Thanks again, Zoe.