- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我试图通过 evernote api 在 python 上获取我的帐户信息,但是,我遇到了错误:
Traceback (most recent call last): File "", line 1, in
File "build/bdist.linux-x86_64/egg/evernote/api/client.py", line 148, in delegate_method
File "build/bdist.linux-x86_64/egg/evernote/edam/userstore/UserStore.py", line 1033, in getUser
File "build/bdist.linux-x86_64/egg/evernote/edam/userstore/UserStore.py", line 1058, in recv_getUser
evernote.edam.error.ttypes.EDAMSystemException: EDAMSystemException(errorCode=8, rateLimitDuration=None, _message='authenticationToken')
我的python代码如下:
from evernote.api.client import EvernoteClient
dev_token="my develop token"
client = EvernoteClient(token=dev_token)
userStore = client.get_user_store()
user = userStore.getUser()
我确定我已经为我的 Evernote 帐户生成了一个有效的开发人员 token ,如图所示,我的帐户中有一个开发人员 token link
有什么我遗漏的吗?
顺便说一句,我使用上面的代码并将 key 替换为另一个印象笔记沙箱帐户生成的开发 token ,就可以了。
最佳答案
如果您不在沙盒上,请尝试:
client = EvernoteClient(token=dev_token, sandbox=False)
关于python - getUser 返回 EDAMSystemException errorCode=8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41710896/
我创建了 android 应用程序并尝试将 admob 添加到它。但它不起作用。谁能帮我解决这个错误。 [2014-04-09 15:16:51 - Dex Loader] Unable to exe
在 docusign 中请求收件人 View 时,我收到错误消息 "errorCode": "USER_DOES_NOT_BELONG_TO_SPECIFIED_ACCOUNT", "messa
我需要在异常时包含错误代码。 Exceptions (Delphi) type EInOutError = class(Exception) ErrorCode: Integer;
我正在编写一个脚本,用于从youtube下载视频。我知道,我需要解析文件,其中包含从url:http://www.youtube.com/get_video_info?video_id= {video
我有一个套接字包装器库,我一直在处理它,除其他外,在开始时进行一点握手,以确保与您交谈的任何人都使用与您相同的协议(protocol)和设置。我以标准方式创建了自己的异常类: private cla
当我尝试查询数据库并将结果写入文件时出现此错误。它以前从未发生过。 java.sql.SQLException: Error writing file '/tmp/MYwADPLw' (Errcode
我尝试为登录设置错误代码,例如用户想要输入他的个人资料但输入了错误的密码,他会收到他输入错误密码的通知......但如果我尝试这样做只是在没有登录的情况下将我带到了正常的提要页面,所以 errorCo
执行批处理操作时出现此错误。Use getNextException() to retrieve the exceptions for specific batched elements.ERRORC
我正在尝试编写自己的错误报告功能。作为模板,我使用的示例包含以下代码片段: if (!(error_reporting() & $errorcode)) { return; } 但是它到底是做
当您尝试从 Azure Active Directory 获取 token 时,如果在 token 获取过程中发生错误,则会引发异常类型。 该异常称为 AdalException ms docs li
当您尝试从 Azure Active Directory 获取 token 时,如果在 token 获取过程中发生错误,则会引发异常类型。 该异常称为 AdalException ms docs li
ErrorCode 和 SocketErrorCode 是否总是相同的值但表示为不同的类型? SocketException class description给出了大部分相同的描述,但我没有看到任何
W/Ads: There was a problem getting an ad response. ErrorCode: 1 W/Ads: Failed to load ad: 1 来自 logca
我已经添加了这段代码来查看应用程序无法接收广告时的错误。 // Create an ad request. Check logcat output for the hashed device
本文实例讲述了腾讯微博提示missing parameter errorcode 102 错误的解决方法。分享给大家供大家参考。具体分析如下: 今天在调试腾讯微博接口时,出现一个错误,找了网上都没
我已经运行了 MAMP(OSX 的 XAMP),我正在尝试设置 subversion。 当我在浏览器中访问新创建的存储库时,我得到: Could not open the requested S
我集成了 google admob 广告,但显示错误, W/Ads:获取广告响应时出现问题。错误代码:008-09 16:05:43.933 24002-24002/com.locationtrack
你能帮我解决这个问题吗 当我尝试创建表 dvdTitle 时,出现以下错误 Error Code: 1005 Can't create table 'netflixclone.dvdtitle' (e
我有一个 CakePHP 应用程序,我想对用户尝试上传一个对于 MySQL 数据包大小来说太大的文件使用react。我想获取 MySQL 错误,然后根据该错误向用户提供错误消息。 看起来 CakePH
一般来说,将 ErrorCode 和 SQLState 组合视为特定异常的唯一 ID,作为代码逻辑的基础是否安全? 更具体地说,DataDirect 是否遵循这样的事情? 另外对于我需要的确切案例,我
我是一名优秀的程序员,十分优秀!