React V4React V4Node.jsPhoneGapWebJavaScriptReact V4 SDK Status Events

CategoryDescription
PNNetworkIssuesCategoryThe SDK is not being to able reach the PubNub Data Stream Network because the machine or device are not connected to Internet or this has been lost, your ISP (Internet Service Provider) is having to troubles or perhaps or the SDK is behind of a proxy.
PNBadRequestCategoryThe SDK will return PNBadRequestCategory when are published messages and the instance of the SDK was not initialized with the publishKey.
When it notified an error which does not contain the category included, this will be a validation error because the channel or message or even both are been missing in the publication.
CategoryDescription
PNTimeoutCategoryProcessing has failed because of request time out.
PNNetworkIssuesCategoryThe SDK is not being to able reach the PubNub Data Stream Network because the machine or device are not connected to Internet or this has been lost, your ISP (Internet Service Provider) is having to troubles or perhaps or the SDK is behind of a proxy.
PNNetworkDownCategoryThe SDK announce when connection is not available or this is not able to reach the PubNub Data Stream Network.
PNBadRequestCategoryThe server responded with bad response because the request is malformed.
PNRequestMessageCountExceedCategoryThe SDK will announce this error if requestMessageCountThreshold is set and the number of messages arrived from (PubNub in memory cache messages) are greater than this.
PNAccessDeniedCategoryThe SDK will announce this error when the PAM (PubNub Access Manager) does not allow the subscription to a channel or a channel group.