Error in call to API function "files/upload_session/finish"

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Error in call to API function "files/upload_session/finish"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #226871
    kathleenmvallejos
    Participant

    Backups haven’t occurred in 3 months, here is part of the error log:
    3465.714 (9) Dropbox chunked upload exception (Dropbox_BadRequestException): Error in call to API function “files/upload_session/append_v2”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null (line: 216, file: /home2/mackinto/public_html/wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Consumer/Curl.php)
    3465.715 (9) Dropbox error: Error in call to API function “files/upload_session/append_v2”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null
    3466.727 (9) Dropbox account/info did not return HTTP 200; returned: 401
    3466.729 (9) Dropbox: Attempt to upload: backup_2017-08-23-1513_Mackintosh_Fruit_Farm_74aeaf8c9f9d-others.zip to: backup_2017-08-23-1513_Mackintosh_Fruit_Farm_74aeaf8c9f9d-others.zip
    3467.304 (9) Dropbox chunked upload exception (Dropbox_BadRequestException): Error in call to API function “files/upload_session/finish”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null (line: 216, file: /home2/mackinto/public_html/wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Consumer/Curl.php)
    3467.305 (9) Dropbox error: Error in call to API function “files/upload_session/finish”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null
    3467.308 (9) Retain: beginning examination of existing backup sets; user setting: retain_files=2, retain_db=2
    3467.309 (9) Number of backup sets in history: 2; groups (db): 1
    3467.311 (9) Examining (for databases) backup set with group_id=0, nonce=85b79c73ef63, datestamp=1503522822 (Aug 23 2017 21:13:42)
    3467.312 (9) This backup set is the backup set just made, so will not be deleted.
    3467.312 (9) Examining (for databases) backup set with group_id=0, nonce=c72ebbff7fef, datestamp=1502918403 (Aug 16 2017 21:20:03)
    3467.313 (9) This backup set remains non-empty (f=1/d=1); will retain in history
    3467.314 (9) Number of backup sets in history: 2; groups (files): 1
    3467.315 (9) Examining (for files) backup set with nonce=85b79c73ef63, datestamp=1503522822 (Aug 23 2017 21:13:42)
    3467.316 (9) This backup set is the backup set just made, so will not be deleted.
    3467.317 (9) This backup set is the backup set just made, so will not be deleted.
    3467.317 (9) This backup set is the backup set just made, so will not be deleted.
    3467.318 (9) This backup set is the backup set just made, so will not be deleted.
    3467.318 (9) This backup set remains non-empty (f=1/d=1); will retain in history
    3467.319 (9) Examining (for files) backup set with nonce=c72ebbff7fef, datestamp=1502918403 (Aug 16 2017 21:20:03)
    3467.320 (9) This backup set remains non-empty (f=1/d=1); will retain in history
    3467.322 (9) Retain: saving new backup history (sets now: 2) and finishing retain operation
    3467.325 (9) Resume backup (85b79c73ef63, 9): finish run
    3467.327 (9) There were errors in the uploads, so the ‘resume’ event is remaining scheduled
    3467.330 (9) No email will/can be sent – the user has not configured an email address.
    3467.331 (9) The backup attempt has finished, apparently unsuccessfully

    #226887
    kathleenmvallejos
    Participant

    OK, I’ve upgraded to the UpdraftPlus Premium account to receive support and de-installed the free version and installed the new updgraded version and tried to run a new back up and am still receiving the same error. Below:
    0169.844 (1) Dropbox account/info did not return HTTP 200; returned: 401
    0169.846 (1) Dropbox: Attempt to upload: backup_2017-08-29-1103_Mackintosh_Fruit_Farm_a89dc03ba080-db.gz to: backup_2017-08-29-1103_Mackintosh_Fruit_Farm_a89dc03ba080-db.gz
    0170.981 (1) Dropbox chunked upload exception (Dropbox_BadRequestException): Error in call to API function “files/upload_session/finish”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null (line: 216, file: /home2/mackinto/public_html/wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Consumer/Curl.php)
    0170.984 (1) Dropbox error: Error in call to API function “files/upload_session/finish”: HTTP header “Dropbox-API-Arg”: cursor.session_id: ‘None’ expected to be a string, got null

    #226895
    Dee Nutbourne
    Moderator

    Hi,

    After selecting Dropbox as the remote storage location, did you follow the Dropbox authentication link?
    In the Dropbox remote storage settings, is the correct account holder’s name displayed?

    Best Wishes,
    David N

    #226913
    kathleenmvallejos
    Participant

    Yes this message appears:
    (You appear to be already authenticated).

    There are already 2 files that backed up in May that are in Dropbox (my client’s Dropbox account – not my Dropbox account).

    The account holder’s name is mine.
    Should it be their’s (hers – my client)?

    #226920
    kathleenmvallejos
    Participant

    I got it. I deauthenticated the Dropbox connection and reauthenticated with my client’s account and it corrected the name to theirs and completed a backup successfully.

    Thank you very much for your help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Error in call to API function "files/upload_session/finish"’ is closed to new replies.