Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here!
Forum Discussion
donaldp
7 years agoCollaborator | Level 9
ApiException`1: path/conflict/folder/ error on fresh installation of SimpleTest
Was having some issues with Dropbox, so decided to go back to basics, and found even SimpleTest wasn't working, so I deleted and recloned, changed only the apikey in SimpleTest, and this time I managed to get the app authoristion screen to come up (wasn't getting that far before), so all appeared to be working now... until this -
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at SimpleTest.Program.Main(String[] args) in D:\Users\Donald\Source\Repos\dropbox-sdk-dotnet\dropbox-sdk-dotnet\Examples\SimpleTest\Program.cs:line 47
Inner Exception 1:
ApiException`1: path/conflict/folder/.
As noted, this is a fresh installation of dropbox-sdk-dotnet (I deleted the whole folder before recloning), so there shouldn't be any problems with existing folders. What do I need to do to fix this?
This error message indicates that the operation (e.g., uploading a file or creating a folder) couldn't be completed because there is already a folder at the specified path.
The .NET SDK 'SimpleTest' examples uses a folder named "DotNetApi" in the root of the connected Dropbox account to store the test files, so this error would be referring to that folder (or something under that folder), not the "dropbox-sdk-dotnet" SDK folder itself. (If the app key is for an app with the "app folder" permission, this would be created inside the special "app folder", by default at /Apps/<app folder name>, automatically made for the app.)
To avoid this, you can delete the entire "DotNetApi" folder in the connected Dropbox account to start over.
2 Replies
- Greg-DB7 years ago
Dropbox Community Moderator
This error message indicates that the operation (e.g., uploading a file or creating a folder) couldn't be completed because there is already a folder at the specified path.
The .NET SDK 'SimpleTest' examples uses a folder named "DotNetApi" in the root of the connected Dropbox account to store the test files, so this error would be referring to that folder (or something under that folder), not the "dropbox-sdk-dotnet" SDK folder itself. (If the app key is for an app with the "app folder" permission, this would be created inside the special "app folder", by default at /Apps/<app folder name>, automatically made for the app.)
To avoid this, you can delete the entire "DotNetApi" folder in the connected Dropbox account to start over.
- donaldp7 years agoCollaborator | Level 9
Ah, I hadn't even noticed it had put that folder there. Deleted and fixed. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 13 hours ago
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 or Facebook.
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!