You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo 'Some error occured. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_debug.'
Some error occured. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_debug.
exit 1
bird2:~/Dropbox-Uploader$
The text was updated successfully, but these errors were encountered:
I have downloaded and linked my copy of Dropbox_Uploader. The commands info and space work fine, but I get an error with "list".
I ran in debug and looked at the dump, but I can't figure it out.
=====
bird2:~/Dropbox-Uploader$ ./dropbox_uploader.sh -d list
1.0
Linux bird2 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Debian GNU/Linux 11 \n \l
++ readlink -m //test
++ date +%s
++ sed -n 's/."access_token": "([^"]).*/\1/p' /tmp/du_resp_debug
++ sed -n 's/."expires_in": ([0-9]).*/\1/p' /tmp/du_resp_debug
++ normalize_path //
+++ builtin printf %s /
++ path=/
++ [[ 1 == 1 ]]
+++ readlink -m /
++ new_path=/
++ [[ / == / ]]
++ [[ 1 -gt 1 ]]
++ echo /
++ db_list_outfile ''
++ local DIR_DST=
++ local HAS_MORE=false
++ local CURSOR=
++ [[ -n '' ]]
++ OUT_FILE=/tmp/du_tmp_out_10978
++ true
++ [[ false == \t\r\u\e ]]
++ ensure_accesstoken
+++ date +%s
++ local now=1687281647
++ [[ 1687295987 > 1687281647 ]]
++ return
++ curl -X POST -L -s --show-error --globoff -i -o /tmp/du_resp_debug --header 'Authorization: Bearer sl.BgtmHoQLujYQV0XLfUpVtw_9T-WCRu2X6Pa2dtqkVGUrmd8OgK2o4LvR8MsiN0CmzvRAs3Ux95-wGJwBvFHUyTg0l4lnK2LlAYr25Q1bEdi2Vc7q9SHmSvxsWTQFnrGQT8aVKg8' --header 'Content-Type: application/json' --data '{"path": "","include_media_info": false,"include_deleted": false,"include_has_explicit_shared_members": false}' https://api.dropboxapi.com/2/files/list_folder
++ check_http_response
++ CODE=0
++ case $CODE in
++ grep -q '^HTTP/[12].* 400' /tmp/du_resp_debug
+++ sed -n 's/."has_more": ([a-z])./\1/p' /tmp/du_resp_debug
++ HAS_MORE=
+++ sed -n 's/."cursor": "([^"])"./\1/p' /tmp/du_resp_debug
++ CURSOR=
++ grep -q '^HTTP/[12].* 200' /tmp/du_resp_debug
++ return
FAILED
Some error occured. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_debug.
bird2:~/Dropbox-Uploader$
The text was updated successfully, but these errors were encountered: