Skip to content
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

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) #75

Open
TvoozMagnificent opened this issue Apr 16, 2022 · 3 comments

Comments

@TvoozMagnificent
Copy link

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)

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Apr 16, 2022

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.

@TvoozMagnificent
Copy link
Author

TvoozMagnificent commented Apr 17, 2022 via email

@huan
Copy link
Member

huan commented Apr 28, 2022

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/

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

3 participants