We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
gcarl
4 years agoExplorer | Level 4
Re: Tokens only valid for 4 hours from app console
Dear greg-DB,
sorry, but I have to come back to this topic again, since I couldn't solve it in the recent weeks despite all these valuable hints in this forum and the description for the Swift ...
gcarl
4 years agoExplorer | Level 4
Dear Greg-db,
would it be helpful if I send you a promocode for the AppStore for my app I‘m facing this issue via e-mail?
would it be helpful if I send you a promocode for the AppStore for my app I‘m facing this issue via e-mail?
Greg-DB
Dropbox Community Moderator
4 years agoThat may not be helpful as we wouldn't be able to inspect or debug the code directly.
I've put together a small sample project using the code snippets you provided here, just filling in the gaps as necessary. It doesn't reproduce the issue for me. (It retains the authorizedClient and can successfully make calls even after more than four hours after authorization.) Could you try it though and see if produces the issue for you?
- gcarl4 years agoExplorer | Level 4
Dear Greg-DB,
I tested your test app on different devices and it worked as expected without any problems.
Since the code of your test app is exactly the same I use in my apps except for the Dropbox appkey, the questions is, if the problems are linked with the appkey? I originally registered the apps with a long term token, which was changed automatically meanwhile in course of your initiative of replacing these tokens.
Kind regards gcarl
- Greg-DB4 years ago
Dropbox Community Moderator
There shouldn't be anything unusual about your app key in particular. To check that though, you could try replacing my app key in the sample project with yours and retesting it. Please try that and let me know how it goes.
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!