EDAMUserException: LIMIT_REACHED errorCode:6

EDAMUserException: LIMIT_REACHED errorCode:6

我正在使用 evernote api python sdk 并且我不断收到此异常:

EDAMUserException: LIMIT_REACHED: {"errorCode":6,"parameter":"Note"}

有谁知道这个限制指的是什么?通过 api! 创建笔记有限制吗?该 sdk 信息量非常小,我在其他地方找不到关于它的一些描述。

感谢您的帮助。 谢谢!

Evernote 的 error code documentation 定义 LIMIT_REACHED 表示您正在尝试创建一个太大的笔记。

来自error handling documentation

Maximum note size

The Evernote web service limits the maximum size of an individual note. Calls to NoteStore.createNote and NoteStore.updateNote can fail if the new size of the note would be larger than the maximum allowed. In this case, an EDAMUserException will be thrown with the error code LIMIT_REACHED and a parameter value of Note.size.

联系 Evernote 支持后,发现 LIMIT_REACHED 异常可能发生在两种情况下:

  • 第一个是正在创建的笔记太大,正如kungphu建议的那样。

  • 第二种情况是账户总票数达到(个人账户100k票)。

后者是我的原因,删除垃圾箱解决了这个问题。