Skip to content

Error retrieving files for the first time #74

@alanbernstein

Description

@alanbernstein

Just after signing in to my Dropbox account, when trying to get the file listing, I get an alert: There was an error retrieving files!. Then I see a debug page, with error message:

Unhandled Rejection (SyntaxError): Unexpected token E in JSON at position 0

(anonymous function)
src/org-web/src/sync_backend_clients/dropbox_sync_backend_client.js:84

  81 |   reader.readAsText(response.fileBlob);
  82 | })
  83 | .catch(error => {
> 84 |   if (!!error.error && JSON.parse(error.error).error.path['.tag'] === 'not_found') {
     | ^  85 |     reject();
  86 |   }
  87 | })

This is running locally on OSX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions