I'm trying to implement CDC using the EMP Connector sample.
I run it against the sandbox and try to subscribe to channels such as /data/ChangeEvents
or /data/AccountChangeEvent
.
I always get this error:
com.salesforce.emp.connector.CannotSubscribe: Unable to subscribe to [/data/ChangeEvents:-2] [https://xxx--QA.csyyy.my.salesforce.com/cometd/43.0] : 400::The channel specified is not valid {/data/ChangeEvents}
Am I missing something?