Hi Greg,
def insert_data():
has_more = True
cursor = cnxn.cursor()
while has_more:
if cursor is None:
entries = dbx.files_list_folder(Dropbox_file, limit=2000).entries
else:
entries = dbx.files_list_folder_continue(cursor)
for entry in entries:
...
cursor = entries.cursor
# Repeat only if there's more to do
has_more = entries.has_more
I'm getting an error with the message
dropbox.stone_validators.ValidationError: '<pyodbc.Cursor object at 0x000002831027A8B0>' expected to be a string, got Cursor
Can you help me fix this? I'm trying to read more than 2000 files in a single dropbox folder..