JavaScriptReactReactNode.jsPhoneGapReduxTitaniumVueWebReact SDK Troubleshooting Guide

NEW VERSION AVAILABLE!

This SDK version has been deprecated. A new version of the PubNub React framework 2.0 is now available. You can access it here.

Set logVerbosity to true on initialization.

 Always set the UUID to uniquely identify the user or device that connects to PubNub. This UUID should be persisted, and should remain unchanged for the lifetime of the user or the device. Not setting the UUID can significantly impact your billing if your account uses the Monthly Active Users (MAUs) based pricing model, and can also lead to unexpected behavior if you have Presence enabled.

var pubnub = new PubNub({
    subscribeKey: "mySubscribeKey",
    publishKey: "myPublishKey",
    logVerbosity: true,
    uuid: "myUniqueUUID"
});
 

Copy the logs from the console output of the browser as text and submit to support@pubnub.com.