# S00001 {#s00001}

## Error Code {#error_code .section}

S00001

## Error Message {#error_message .section}

1.  `The feature of publish is not enabled. RefId: S00001`

2.  `Can't complete subscription because subscription is not enabled. RefId: S00001`

3.  `Can't cancel subscription because subscription is not enabled. RefId: S00001`


## Probable Causes {#probable_causes .section}

Streaming is not enabled by default in DolphinDB. Related configuration parameters should be specified before you publish or \(un\)subscribe to the stream tables. Otherwise, this error occurs.

-   For Error Message 1, the number of the subscriber nodes that can be connected to the publisher is not specified.

-   For Error Message 2 or 3, the port listening on the subscription is not specified.


## Solutions {#solutions .section}

-   For Error Message 1, specify configuration parameter *maxPubConnections*.

-   For Error Message 2 or 3, specify configuration parameter *subPort*.


For more information on configuration parameters, please see [Reference](../../Database/Configuration/reference.md).

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

