my aceess token has expired 😞
and i can't get the refresh_token
Â
I'm trying to backup to dropbox using access token via curl on linux. However, the access token automatically expires after about 5 hours, and renewal access codes cannot be issued.
Â
I checked using the code below. But still refresh_token is not visible.
Â
curl https://api.dropbox.com/oauth2/token \ -d code=<AUTHORIZATION_CODE> \ -d grant_type=authorization_code \ -d redirect_uri=<REDIRECT_URI> \ -u <APP_KEY>:<APP_SECRET>
Â
This is the code result. refresh_token could not be found.
Â
{"access_token": "MYACCESSCODE", "token_type": "bearer", "expires_in": 14400, "scope": "account_info.read files.content.read files.content.write files.metadata.read files.metadata.write sharing.read sharing.write", "uid": "MYIUIDCODE", "account_id": "dbid:MYDBID"}
Â
how can i get the refresh_token?