Skip to content

提示无效的corpid #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iamdominate opened this issue Mar 6, 2017 · 2 comments
Closed

提示无效的corpid #1

iamdominate opened this issue Mar 6, 2017 · 2 comments

Comments

@iamdominate
Copy link

<class 'sqlite3.OperationalError'> : no such table: weixin_token
WeiXin_Qy Api Error, result is {u'errcode': 40013, u'errmsg': u'invalid corpid'}

@DingGuodong
Copy link
Owner

首先感谢你提出问题!根据你提供的错误信息,问题的原因可能是这样的:weixin_token 表没有正确设置,可能需要你去人工核查一下sqlite数据库中这个表是否存在,如果不存在可以尝试重新运行脚本初始化sqlite数据库。

@DingGuodong
Copy link
Owner

不要使用git上提供给你的sqlite数据库文件“.odbp_db.sqlite3”,你完全可以删除这个文件,然后按照README.md的使用方法去再试一次,应该没有问题。如果再次试过之后发现还是有问题,请再Open这个issue。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants