Discussions
-
dropbox.exceptions.AuthError: expired access token
When I run an app I developed, I get an error. dropbox.exceptions.AuthError: AuthError('89ade68e26bd49d592d01bfbfae5659b', AuthError('expired_access_token', None)) What could be wrong with my OAuth code? def oauth_flow(): return DropboxOAuth2Flow( APP_KEY, 'https://dropbox-notifications.herokuapp.com/oauth-callback',…
-
deceptive site error
I have an app which connects to a dropbox account and sends notifications when certain changes are made. It had been working and connecting the given account. However, recently, this error comes up when it connects. Any idea why this is happening? Thank you
-
API Lookup Error
I have an app that is connected to my dropbox account with a webhook and sends an alert each time something is changed in certain folders. For some reason, I am getting the following error when I make changes to files in the account dropbox.exceptions.ApiError: ApiError('8fe4838db3874737b55c0d7e3935585e',…
-
webhook tutorial
Hi, I'm following the webhook tutorial using the Python SDK. There is a url and function 'welcome'. However, I don't see it being used anywhere in the app. Can you please clarify what the purpose of it is if it's not being used anywhere? Thank you
-
dropbox.exceptions.AuthError: AuthError('adf0b24714c641a5b3dfcd68573db5e4', AuthError('invalid_acces
I am working on a notification app linked to a business account via a webhook to get notified when any of the team members edit files in certain folders. Attached below is the code, deployed on Heroku import osfrom dotenv import load_dotenvfrom dropbox import Dropboxfrom flask import Flask, render_template, session,…
-
not getting data for edits in folders
Hi, I set up a notification system to get notified when there are changes to my dropbox account. The following is a code excerpt def process_user(account): # cursor for the user (None the first time) cursor = redis_client.hget('cursors', account) dbx = Dropbox(ACCESS_TOKEN) has_more = True while has_more: if cursor is…
-
dbx.files_list_folder_continue(cursor)
Hi, When I use dropbox.files_list_folder_continue(), it returns this sort of thing to me: ListFolderResult(cursor='AAGFrYNdNFVvj-P1WPjcSIta4RG5MPP0MkUNGBqnduUowq2AZgFjW3D70O6j_c63VjG_qJ_5djJP5RmgugkeKiBbXNM8RQD-Bh5bvLaRCuG037iK4MVz-CiIxTm_XuPuI4BWHd6buxIv_Df4TjImbHBmBa4E1KJhIAcmXh4-2Z6i4Qik3PVeTqTzoBRD8XEWOIE',…
-
Dropbox app opens file explorer
Hi, When I open the Dropbox app on Windows, it opens the File Explorer. I want it to open the Dropbox desktop app like it used to. How can I fix that? I saw a previous post which said to update the settings by preferences but my preferences doesn't have that as an option. Thank you
-
dropbox.exceptions.BadInputError
I am trying to connect an app to my company dropbox account. Here is the code: from hashlib import sha256import hmacimport jsonimport osimport threadingimport urllib.parsefrom dotenv import load_dotenvfrom dropbox import Dropbox, DropboxOAuth2Flowfrom dropbox.files import DeletedMetadata, FolderMetadata, WriteModefrom…
-
Webhook Tutorial Error
I downloaded the code (https://github.com/dropbox/mdwebhook) and am trying to make this application work on my IDE. The site is up but when I press on the button to connect to Dropbox, I get this error "TypeError: 'SecureCookieSession' object cannot be interpreted as an integer". Can anyone help me solve this?