问题描述
Get org admin token: YWMtHPcXYonQEeWDJcFVFfvVDAAAAVI0h9bVvw7_4lighuzBh5futfDc03zdtfsTraceback (most recent call last): File "D:codecode环信emchat-server-examples-1.0emchat-server-examples-1.0emchat-server-pythoneasemob_server_python.py", line 224, in <module> print "Get app admin token:" + app_admin_auth.get_token() File "D:codecode环信emchat-server-examples-1.0emchat-server-examples-1.0emchat-server-pythoneasemob_server_python.py", line 85, in get_token return self.token.tokenAttributeError: 'NoneType' object has no attribute 'token' info.json{ "appkey" : "olddesktop#olddesktop", "org" : "bbst", "admin" : { "username" : "账号", "password" : "密码" }, "app" : { "name" : "olddesktop", "credentials" : { "client_id" : "我的ID", "client_secret" : "我的secret" }, "admin" : { "username" : "我的账号", "password" : "我的密码" } }}是不是我的配置文件写错了呢?org写什么呢。
解决方案
org_name#app_name 这个就是你的appkey,以#号区分