Skip to content

Missing token in zuliprc file when using zulip-botserver #864

Open
@wxie7

Description

@wxie7

Hello, I'm trying to use zulip bot. I followed the example from [this page](https://zulip.com/api/configuring-python-bindings#download-a-zuliprc-file) and tried to run the simple helloworld bot with the following command:

zulip-botserver --config-file helloworld/zuliprc --bot-name=helloworld

I downloaded the zuliprc file from the Zulip bot page, but it doesn't contain a token field. However, when I run the botserver, I get the following error:

Error: Your Botserver config file `helloworld/zuliprc` has a missing option `token` in section `api`!
You need to add option `token` with appropriate value in section `api` of `helloworld/zuliprc`

The linked documentation doesn't mention anything about a token either. How should I resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions