我一直在尝试使用python ebaysdk,但我不明白为什么我总是收到以下错误:
{'Timestamp': '2017-02-21T19:55:31.915Z', 'Errors': {'LongMessage': 'Validation of the authentication token in API request failed.', 'ShortMessage': 'Auth token is invalid.', 'SeverityCode': 'Error', 'ErrorCode': '931', 'ErrorClassification': 'RequestError'}, 'Build': 'E989_CORE_API_18131074_R1', 'Version': '989', 'Ack': 'Failure'}
代码段是从github repo(https://github.com/timotheus/ebaysdk-python)复制的。在
^{pr2}$我还把所有的配置都放在易趣.yaml文件。在
要运行代码片段,请转到开发者易趣网,生成用户授权令牌,将其粘贴到yaml文件中并运行脚本。在
我的脚本是在后台运行的。在
有ebaysdk经验的人能告诉我如何正确连接到交易API吗?在
我发现了这段代码的问题:我没有在yaml文件中为沙盒配置条目。在我做了这件事之后,一切都在继续。我有一个新错误(将在几分钟后发布一个问题)。在
这是易趣.yaml公司名称:
我在你的代码片段或加载的模块中没有看到任何对YAML配置的引用。。。按照https://github.com/timotheus/ebaysdk-python/wiki/Trading-API-Class处的文档,您需要指定保存ID的AppId或配置文件:
或者
^{pr2}$相关问题 更多 >
编程相关推荐