Im trying to import my matches into Excel using powerquery and i am having an error. I send the request url and than Powerquery asks me for a subsription key and i use the one provided and it does not work. It says invalid credentials…
You’ll need to write a query from scratch (you can’t use the wizard as far as I can tell) because you can’t sent the authorisation header.
An example to load the Medals Metadata using Excel 2013 with PowerQuery installed.
Click the Power Query menu item. - Click the From Other Sources drop-down. - Click Blank Query. - Query Editor: Click the Home menu item. - Query Editor: Click Advanced Editor. - Advanced Editor: Review and copy the following:
Advanced Editor: Click Done. - Query Editor: Double click the new Web File. - Query Editor: Click the (List Tools)Transform menu item. - Query Editor: Click To Table and click OK. - Query Editor: Click the Expand icon (next to Column1). Leave all the columns checked and uncheck Use original column as prefix. - Query Editor: Click the Expand icon (next to SpriteLocation). Leave all the columns checked and uncheck Use original column as prefix. - Query Editor: Click the Home menu item. - Query Editor: Click Close and Load. - Review data.
When I attempt to use my API token to query via Excel 2016 I consistently get a generic “Unauthorized” error. I can’t get past the “Advanced Editor: Click Done” step above. However, when I execute a query using the “Try It” button in the Halo API Documentation, the query executes with my same API token, no problem. Any tips on what I may be doing wrong?