Issue with pubsub authentication

As per the docs

You need to make sure that the auth key you are using has any scope for the bit’s topic, and a key with channel_subscriptions scope on it as @milo says

ERR_BADAUTH means your key is invalid for one or more topics your requests to listen on in the same listen send.