This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Dropbox backup script not working
#1
Hi, 

I tried to use this script from https://kb.logicmachine.net/scripting/ba...e-dropbox/ It works fine, but the token from dropbox expired after maybe 50 hours. So how to fix this script? Here is the log 

* arg: 1
  * string: dropbox backup failed
* arg: 2
  * string: {"error_summary": "expired_access_token/...", "error": {".tag": "expired_access_token"}}
* arg: 3
  * number: 401
* arg: 4
  * table:
  ["x-content-type-options"]
    * string: nosniff
  ["content-type"]
    * string: application/json
  ["content-security-policy"]
    * string: sandbox allow-forms allow-scripts
  ["content-length"]
    * string: 88
  ["cache-control"]
    * string: no-cache
  ["x-dropbox-response-origin"]
    * string: far_remote
  ["connection"]
    * string: close
  ["x-dropbox-request-id"]
    * string: "had some id stuff I deleted this"
  ["strict-transport-security"]
    * string: max-age=31536000; includeSubDomains; preload
  ["date"]
    * string: Sun, 14 Sep 2025 20:01:05 GMT
  ["www-authenticate"]
    * string: Bearer realm="Dropbox-API"
  ["x-robots-tag"]
    * string: noindex, nofollow, noimageindex
  ["server"]
    * string: envoy
* arg: 5
  * string: HTTP/1.1 401 Unauthorized
Reply
#2
Dropbox changed how token access works with a more secure but complicated solution Smile
We'll update the guide soon and will let you know when it's done.
Reply
#3
(15.09.2025, 11:36)admin Wrote: Dropbox changed how token access works with a more secure but complicated solution Smile
We'll update the guide soon and will let you know when it's done.

Any idea of how long it will take?
Yeah, oauth2 call and then it will send you new token. Once I tried to get it work with onedrive, but newer got it to work...

And does the dropbox backup script make a full backup? Because there have been backup scripts that hasn't backed everything?
Reply
#4
Dropbox guide has been updated. The resulting backup is the same file that you get by manually making a backup in LM Utilities tab.
Reply
#5
(Yesterday, 07:47)admin Wrote: Dropbox guide has been updated. The resulting backup is the same file that you get by manually making a backup in LM Utilities tab.

Thanks, so what doesn't it backup?
Reply
#6
Project backup, same as by doing it manually in the Utilities tab.
------------------------------
Ctrl+F5
Reply
#7
(Yesterday, 09:38)Daniel Wrote: Project backup, same as by doing it manually in the Utilities tab.

Yeah, still don't know what it doesn't backup? Never noticed anything missing, but haven't yet needed to restory any of the bigger projects where more functionality is in use. I have like 35 logicmachine servers running...
Reply


Forum Jump: