Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
{"Value should match pattern '\\A(?:(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?))\\z'\r\nParameter name: path"}
-
-
-
-
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
heres my code: try { var result = await dbx.Sharing.CreateSharedLinkWithSettingsAsync(@"E:/Dropbox/iCodesStorageDropbox/H11018304_MMCH/CF1- TR18-0000005-121212-JOSESAPANZAAMIDO.enc", null); var url = result.Url; MessageBox.Show(url); } catch(Exception ex) { MessageBox.Show(ex.ToString()); }
-
-
-
-
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
I want to get my file dropbox link im using c# and Dropbox api
this is my c# code :
try { var result = await dbx.Sharing.CreateSharedLinkWithSettingsAsync(@"E:/Dropbox/iCodesStorageDropbox/H11018304_MMCH/CF1- TR18-0000005-121212-JOSESAPANZAAMIDO.enc", null); var url = result.Url; MessageBox.Show(url); } catch(Exception ex) { MessageBox.Show(ex.ToString()); }
And this error message will show :
{"Value should match pattern '\\A(?:(/(.|[\\r\\n])*|id:.|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.
?))\\z'\r\nParameter name: path"}
-
-
-
-
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
@iCodes I see that you're trying to call CreateSharedLinkWithSettingsAsync but it's failing because you're not providing a valid 'path' value. You're supplying a local path (starting with the local drive letter "E:/", and so on). When using the Dropbox API though, the paths you use should be relative to the root of the Dropbox (or app folder root if you're using an app registered for the app folder permission).
So, your path value should lookg like "/iCodesStorageDropbox/H11018304_MMCH/CF1- TR18-0000005-121212-JOSESAPANZAAMIDO.enc".
You can retrieve valid path values from the API itself, e.g., from Metadata.PathLower, as returned from ListFolderAsync, for instance.
Good Day Greg
Its working! thanks a lot 🙂
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter 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!