Forum Discussion
A web API key can only be specified when a web API key name is provided
It means that your URL for the web request should look like:
https://app.salsify.com/api/orgs/ABCDEFG/export_runs?access_token=YOUR-AUTH-TOKEN
and in the dialog above you should select Anonymous.
But I noticed the Export Run is a POST command so it won't be as easy as that.
You'll have to specify the request body too.
Chris Webb's BI Blog: Web Services And POST Requests In Power Query Chris Webb's BI Blog (crossjoin.co.uk)
JirkaZ
it still doesn't work, I am desperate...
I'll show you my approach:
you asked me to use the following link: "https://app.salsify.com/api/orgs/{org_id}/export_runs?access_token=YOUR-AUTH-TOKEN"
according to the site my {org_id} is here :
we will say that in this example it is "ABCDEFG"
the second parameter I need is my "YOUR-AUTH-TOKEN".
and still according to the site it tells me that it is here :
in our example this one is "XYZ"
now when I assemble the information in power bi I get this error message
What I want to know is, is this the right approach?
if so, why do I get this error message
thanks for your help
- JirkaZ4 years agoSolution Specialist
Did you check the article I linked? I mentioned that because the Export Run API call is a POST request, the URL approach won't work and you'll have to define a POST command. Your approach is working only for GET calls.