Comments
-
but lets say a token is getting refreshed from the sdk , and now i need to get it for the download , how can i extract it from the dropbox client sdk ?
-
I am fully know how to get the first access token. And my application is running for many years. And recently we wanted to update the download method with chunks that are not supported in the sdk and used the api. when trying to refresh token all is good and we get a new access token , but when trying to retry the download…
-
i move to 7 but still issue happening
-
Hi, Thank you for the response. The response of the 401 is empty. And I will try to move to version 7 . So from what you are saying refreshments are stays the same always. Unless you revoked them . Is there an option to extract the access token from the Dropbox client. Sence I am using both sdk and api . Due to the…
-
Hi I am trying to make a request to "features/get_values" but was unable to successed. each time i am getting a different error. I tried with the SDK var featuresList = new List<UserFeature> { UserFeature.PaperAsFiles; }; // Prepare the request as a member var request = new UserFeaturesGetValuesBatchArg(featuresList); var…
-
can it be access via .Net SDK?
-
I can see that it is obsolete
-
when i search in documentation i saw paper is deprecated, so i really do not know if the api is still working
-
Tjank you @"Greg-DB" So the first one is the old team and the second one is? Can you share an exmple for all the 3 option. And can we call then old team new team(space) And personal. That will be very helpful. I need to fix mu production app and the time is critical for me .
-
Hi @"Greg-DB" From the get current account i used to use in the past. It return is team = true when it was a new space team But now it is changed. Can please explain again how can i know if it is a bew team old team or user . And if it is a user if i can tell if it auser inside a old team new team or jist user with no team…
-
@"Здравко" 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…
-
@"Здравко" What i meant is that i am serialize it to a json object This is the response after i removed the serialization "Error in call to API function \"users/features/get_values\": request body: could not decode input as JSON"
-
Bu greg wrote before that some of the parameters are not support by the sdk. i need to support in my code all the options. in the past we used the root.info.isTeam. regrading the string of request body , it is a string that i am serializing it to an object but now the root.info changed. so need to get the account value to…
-
also trying to fetch the get values and getting an error such as creating client with https://api.dropboxapi.com and a Bearer token var requestBody = "{\"features\":[{\".tag\":\"\"distinct_member_home\"},{\".tag\":\"team_shared_dropbox\"}]}"; var content = new StringContent(JsonConvert.SerializeObject(requestBody),…
-
ok i am working on requesting the get values from the api, just one more thing how do i know when to call the team.getvalues or user.getvalues for old and new team should i use the team and for personal user i need to use the user ?
-
Thank you @"Здравко" and thank you @"Greg-DB" i will give it a try. In the past i implement changes that decided if it a new team or old by the root info.isteam So now i have 3 options? New team old team and no team. And according to table i saw in article this is the way i need to decide if to use the team space client or…
-
how can i request both of those featured values using the dropbox sdk with c# can share with an example of the code ?
-
i think maybe it is related to this . * https://dropbox.tech/developers/api-updates-to-better-support-team-spaces And if yes can you do me some clearance here 🙂 ? And if no please what is the issue ?
-
I am talking about an email i got from dropbox regarding the update https://help.dropbox.com/plans/upcoming-business-team-changes#beforechecklist
-
I added some logs to check my cred during the running . I will update here, it holiday now so in a few days , thanks for the help. by the way. if create a new DropboxTeamClient(request.AccessToken, request.RefreshToken,request.Expires,ClientId,ClientSecret); can I call those methods var account = await…
-
will test it, if i am asing a token with the business app or with the user app does the token is different between ?
-
something like this ZEaFs***lgUAAAAAAAAAARUCp-9WwOK************************PIUr3P72**********Eg does it make sense ?
-
i an not understand and will need more assistance. in my up i am always using the DropboxTeamClient creating it with all the necessary parameters like this. var client = new DropboxTeamClient(request.AccessToken, request.RefreshToken, request.Expires, ClientId, ClientSecret); now after that i am checking if the client is…
-
ok, but if i am calling the first way i am getting the error. I am trying to understand. after 4 hours i am creating the dropbox team client with all the correct data(access,refresh,secret etc..). but getting an error can you try and reproduce it . create a new token with 4 hours. then wait 4 hours and then call the new…
-
waiting for your response
-
Thanks
-
Thankyou for the answer , Hi Greg i have another issue regrading token can you please have a look few days pass since i post it https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-not-beeing-refreshed-automatically/m-p/622496#M28753 OR…
-
i am using the NET SDK soafter open a different ticket i asked if i will need to refresh the token and the answer i got is above, so i need to call the method anyway just in case the token should be refreshed? like this new DropboxTeamClient(request.AccessToken); var account = await…
-
understood thanks
-
ok. so i need to refresh only the access token every 4 hours but not need to get a new refresh token did i understand correctly? very confusing. you are telling me that i do not need to refresh the token that the .net sdk is doing it for me but i do need to refresh the access token did i understand correctly?