chanklish

Well-Known Member
May 22, 2015
107
1
68
kinshasa
cPanel Access Level
Root Administrator
hello awesome people
i am trying to backup to dropbox , got my api creds and followed this custom backup dropbox
once validating i am receiving this error :
Code:
Validation for transport “dropbox” failed: Could not upload test file: 2022-02-07T23:42:10 [WebService::Dropbox] [ERROR] https://content.dropboxapi.com/2/files/upload {"mode":"overwrite","path":"/validate.tmp-32580-1644273729.txt"} -> [401] {"error_summary": "missing_scope/..", "error": {".tag": "missing_scope", "required_scope": "files.content.write"}} at /usr/local/share/perl5/WebService/Dropbox.pm line 184.
i trying to installed this webservice twice , also tried these commands but same error

sudo yum install perl-LWP-Protocol-https -y
sudo cpan CPAN::DistnameInfo
sudo cpan WebService::Dropbox


What to do ?
 
Last edited by a moderator:

chanklish

Well-Known Member
May 22, 2015
107
1
68
kinshasa
cPanel Access Level
Root Administrator
looks like dropbox keeps rotating their access token
this is the second error

Code:
Error: Validation for transport “dropbox” failed: Could not upload test file: 2022-02-08T08:36:24 [WebService::Dropbox] [ERROR] https://content.dropboxapi.com/2/files/upload {"mode":"overwrite","path":"/validate.tmp-29368-1644305782.txt"} -> [401] {"error_summary": "expired_access_token/.", "error": {".tag": "expired_access_token"}} at /usr/local/share/perl5/WebService/Dropbox.pm line 184.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! The documentation page you linked is a bit old as that references our older system from 2018. We have a newer page here:


I'm not 100% certain on the differences, but could you review that and see if anything in the new page helps? There are example scripts in the new documentation as well.
 

macthai

Registered
Feb 24, 2020
4
0
1
Doha, Qatar
cPanel Access Level
Website Owner
move to plesk, cheaper, better, lighter and works like a charm.
Plus, if you have issues and need support they can do everything for you instead of the stupid copy paste message of cpanel "find a system admin:
total dissapointment from cPanel, only increasing prices