Forum Discussion

agagatsis's avatar
agagatsis
Regular Visitor
7 years ago
Solved

Scheduled refresh of Dropbox file obtained by API v2 URL (no headers, etc)

Hello everyone. 

 

I have a dashboard loading data from a dropbox file, using the API v2's URL:

 

= Excel.Workbook(Web.Contents("https://content.dropboxapi.com/2/files/download?authorization=Bearer%20MYACCESSKEY&arg={""path"":""/MYPATH""}"), null, true)

 

The authentication method is set to Anonymous. Pressing refresh works without any issues in Power BI desktop, but on Power BI service, I get an authentication error, claiming my credentials are wrong. There are no other arguments passed in any way in the Desktop app, just what you see above. Thus what makes the two uses different and how can I refresh my data from Power BI service (even manually, not with scheduled refresh)?

 

Thank you.

1 Reply