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

novaut's avatar
novaut
Explorer | Level 4
3 years ago

I'm struggleing to download a single file from the API

Hello there,   I'm struggleing to download a single file from the API.   I'm supplying the app key and secret for App Authentication but I'm getting this error: Error in call to API funct...
  • Здравко's avatar
    Здравко
    3 years ago

    novaut wrote:

    ...

    One question for how long refresh_token is alive? Is it long-lived? 

    ...


    Hi novaut,

    Yes, it's long lived token. The refresh token remains valid till explicit revoke either from application itself or user that granted access for your application to its data.

     


    novaut wrote:

     ...

    I successfully got the file from Dropbox using the refresh_token and it doesn't ask for http authentication 🙂

    ...


    You make me doubt you have understand everything correctly. You can download a file only with access token authentication, not directly with refresh token!!! The refresh token helps you keep receiving valid access token without further user actions. 😉 Hope this was just a confusion while typing.

    Good luck.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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!