Forum Discussion
Connecting to data source hosted on Dropbox
I tried your code and got this error. I just created an app and added the access code where you had zzzzzzz.
DataSource.Error: Web.Contents failed to get contents from 'https://api.dropboxapi.com/2/files/list_folder' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.dropboxapi.com/2/files/list_folder
Url=https://api.dropboxapi.com/2/files/list_folder
Any ideas what this means?
Thnaks
Mike
https://github.com/Hugoberry/PowerQueryConnectors/blob/master/src/DropBox/DropBox.pq
- masplin9 years agoImpactful Individual
Actually I managed to set up the new personal gateway so that i coud use the files on dropbox as a data source for a PBIX file
I think thisis doing somethnig different? Coudl you just explain in what instances I woudl be looking to use this for futre refernece?
Thnaks
Mike
- ImkeF9 years agoCommunity Champion
Hi guys,
thanks for these helpful different solutions! I've picked up some code bits from this thread and created a function that makes it pretty easy to grab files from a dropbox-folder: https://www.youtube.com/watch?v=eEVRO-Zc7pg
This should be helpful for folks who are not so tech-savy and might stumble across this post.
- Anonymous9 years agoNot applicable
Thanks a lot for your code Imke!
But would you have a compact version of it? without the function parameters...Because your code is a function, the Gateway does not work. I get credential errors.
I am loking for just the direct link, something like the first comment on this idea.
But I couldn“t make it work this example in the comments...
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/6663925-dropbox (opens in new tab)