sync_filter = NoteStoreTypes.SyncChunkFilter()
sync_filter.includeNotes = True
sync_filter.includeNotebooks = True
sync_filter.includeSharedNotes = True
sync_filter.includeLinkedNotebooks = True
sync_filter.omitSharedNotebooks = False
sync_filter.notebookGuids = [str(notebook_id)]
new_notes = note_store.getFilteredSyncChunk(afterUSN, maxEntries, filters)
File "build/bdist.linux-x86_64/egg/evernote/api/client.py", line 151, in delegate_method
)(**dict(zip(arg_names, args)))
File "build/bdist.linux-x86_64/egg/evernote/edam/notestore/NoteStore.py", line 2621, in getFilteredSyncChunk
return self.recv_getFilteredSyncChunk()
File "build/bdist.linux-x86_64/egg/evernote/edam/notestore/NoteStore.py", line 2648, in recv_getFilteredSyncChunk
raise result.userException
EDAMUserException: EDAMUserException(errorCode=10, parameter=u'notebookFilter')
SDK Version: 1.28
Function/Class Name:
NoteStoreTypes.SyncChunkFilter() && NoteStore.getFilteredSyncChunk(0, maxEntries, filters)Sample I/P
Expected Result: ResultSet containing only notes with USN greater than afterUSN and within the notebook_id
Obtained Result:
Questions:
note_store.Ttypes.pyis so confusing , needs better languagesetup.pybugs .