I have a serverless function that accesses a Dropbox app folder using the access token generated in the app console to downloads files. It is triggered through a push notification from Dropbox. This happens in the background with no user interaction. I have been developing using my own Dropbox account and have had no problem with the token expiring. I've now switched to a different gmail email address used by the project I'm developing for and created an app in the same way. This time I get a token prefixed with 'sl' that expires. I've followed the instructions here: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Tokens-only-valid-for-4-hours-from-app-console/m-p/425358/highlight/true#M22718 But still get an 'sl' prefixed token that expires. Please can anyone advise why I'm getting different types of tokens between the 2 accounts and how to get a long life token? Alternatively, is there any way to refresh a token through a serverless function. Many thanks.