You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Omri1984
8 months agoExplorer | Level 4
Old dropbox and new dropbox API
Hi , i know that dropbox made a lot of changes in the last few years. i want to understand something there where a time that i needed to check the account , and check if the account is team in o...
- 8 months ago
Omri1984 The combination of the two features allows an app to distinguish between all three team configurations. Please refer to this post for information on that. The recommendation is use these feature values to programmatically determine how to handle any particular team, as described throughout that post.
Здравко
Legendary | Level 20
Hm...🤔 Did you by any chance exchange URI and content? Be more careful! 🙂
Take a look here how to order parameters and their format too. 😉
Omri1984
8 months agoExplorer | Level 4
Здравко this is all i am doing
var client = new HttpClient()
{
BaseAddress = new Uri(" https://api.dropboxapi.com"),
DefaultRequestHeaders =
{
}
};
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("UTF8"));
var requestBody = "{\"features\":[{\".tag\":\"\"other\"}]}";
var content = new StringContent(requestBody, Encoding.UTF8, "application/json");
var res = await httpClient.PostAsync("/2/users/features/get_values",content);
- Здравко8 months agoLegendary | Level 20
Omri1984, I don't know what you have done, but the above is definitely NOT the code you have used; it wouldn't even compile. There are errors inside - visible on first look on!
You can do something else though. Try to send request to a test site where you can see what actually you're sending (just type "test post requests" or something like in Google and select a site you prefer; not to advertise some). Once you have everything configured properly, just set the Dropbox endpoint back. Don't ask for every syntax error or similar you made. If needed pass a refresh course.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,918 PostsLatest Activity: 2 days ago
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!