Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
barryplum
4 months agoExplorer | Level 3
Dropbox App created with one account, but seems to be identifying as a different account
I've created an app with a dedicated account that our administrator set up for me. The app works great. I've set up Salesforce to connect to the app using an Auth. Provider and Named Credentials. ...
DB-Des
Dropbox Community Moderator
4 months agoBased on the error, it does appear as though the access token being used is for your user (Barry) . We'd recommend re-authenticating, while logged in as the iSpot TV user, and using the resulting access token.
barryplum
4 months agoExplorer | Level 3
OK, so I figured out the user issue. When I authenticated my named credentials, I must not have realized that I was logged into dropbox as my user account instead of system account. It is now creating folders under the system account.
It's still not using the team folder as the parent for the folders that I'm creating. I've tried specifying the path, but it just creates a folder of the same name under the root of the system account.
I think we're 99% there, but even though I've created a folder share, the share can see the folder, but not the contents of the folder.
The end goal of the project is to create a folder based on a record in salesforce. Then, create a file request link so that a customer can upload the file into that folder. Finally provide a link to an internal user to be able to go to that folder and download whatever the customer uploads.
- DB-Des4 months ago
Dropbox Community Moderator
It's still not using the team folder as the parent for the folders that I'm creating. I've tried specifying the path, but it just creates a folder of the same name under the root of the system account.
A couple of things to keep in mind:
- If you are trying to create a team folder in the team space, you will need to use the /2/team/team_folder/create endpoint.
- If you are trying to create a folder inside an existing team folder (in the team space), you can use /2/files/create_folder_v2, but you will need to include both the 'Dropbox-API-Path-Root' (with the root namespace ID) and 'Dropbox-API-Select-User' headers.
I think we're 99% there, but even though I've created a folder share, the share can see the folder, but not the contents of the folder.
You can update the access level for folder members, by sending a request to the /2/sharing/update_folder_member endpoint.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!