python-wechaty-getting-started icon indicating copy to clipboard operation
python-wechaty-getting-started copied to clipboard

wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError('one of <endpoint> and <token> configuration is required, you should set environment<WECHATY_PUPPET_SERVICE_TOKEN|TOKEN|token> as token,or environment<WECHATY_PUPPET_SERVICE_ENDPOINT|ENDPOINT|endpoint> as endpoint', None, None)

Open TvoozMagnificent opened this issue 2 years ago • 3 comments

wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError('one of and configuration is required, you should set environment<WECHATY_PUPPET_SERVICE_TOKEN|TOKEN|token> as token,or environment<WECHATY_PUPPET_SERVICE_ENDPOINT|ENDPOINT|endpoint> as endpoint', None, None)

TvoozMagnificent avatar Apr 16 '22 06:04 TvoozMagnificent

As the error log shown, there is one of configuration is required. So you can set variable envrionment: token,TOKEN,WECHATY_PUPPET_SERVICE_TOKEN to enable service of bot. Please feel free to tell me more.

you can refer to :

Hope that can help you more.

wj-Mcat avatar Apr 16 '22 06:04 wj-Mcat

What do I set it to? Specifically, where can I get the token?

2022年4月16日 14:44,骑马小猫 @.*** @.***>> 写道:

As the error log shown, there is one of configuration is required. So you can set variable envrionment: token,TOKEN,WECHATY_PUPPET_SERVICE_TOKEN to enable service of bot. Please feel free to tell me more.

you can refer to :

python-wechaty https://github.com/wechaty/python-wechaty python-wechaty-puppet-service https://github.com/wechaty/python-wechaty-puppet-service wechaty.js.org https://wechaty.js.org/ Hope that can help you more.

— Reply to this email directly, view it on GitHub https://github.com/wechaty/python-wechaty-getting-started/issues/75#issuecomment-1100587976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXPVCE7VLVAVLGVRG6JT2LDVFJOVJANCNFSM5TR6ELBQ. You are receiving this because you authored the thread.

TvoozMagnificent avatar Apr 17 '22 02:04 TvoozMagnificent

You can learn about how to get a Wechaty Puppet Service (WPS) TOKEN from our official website at https://wechaty.js.org/docs/puppet-services/

huan avatar Apr 28 '22 14:04 huan