---
source_url: https://www.pubnub.com/docs/sdks/php/status-events
title: Status Events for PHP SDK
updated_at: 2026-06-12T11:26:10.308Z
sdk_name: PubNub PHP SDK
sdk_version: 9.0.0
---

> Documentation Index
> For a curated overview of PubNub documentation, see: https://www.pubnub.com/docs/llms.txt
> For the full list of all documentation pages, see: https://www.pubnub.com/docs/llms-full.txt


# Status Events for PHP SDK

PubNub PHP SDK, use the latest version: 9.0.0

Install:

```bash
composer require pubnub/pubnub@9.0.0
```

The PubNub PHP Software Development Kit (SDK) reports status events for transactional requests and subscriptions. This page lists each category and its meaning so you can handle them quickly in your app.

## Response status categories

### Transactional requests (like publish, history, Where/HereNow)

| Category | Description |
| --- | --- |
| `PNTimeoutCategory` | Processing has failed because of request time out. |
| `PNAccessDeniedCategory` | The SDK will announce this error when the Access Manager does not allow the subscription to a channel or a channel group. |
| `PNBadRequestCategory` | PubNub API server was unable to parse SDK request correctly. |
| `PNMalformedResponseCategory` | Response cannot be parsed by SDK. |
| `PNUnknownCategory` | No specific category was assigned to the request. |
| `PNUnexpectedDisconnectCategory` | The SDK is not able to reach PubNub servers 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. |

### Subscription status event categories

| Category | Description |
| --- | --- |
| `PNConnectedCategory` | SDK subscribed with a new mix of channels (fired every time the `channel` / `channel group` mix changed). |
| `PNAccessDeniedCategory` | Request failed because of access error (active Access Manager). `status.errorData.channels` or `status.errorData.channelGroups` contain list of channels and / or groups to which user with specified `auth` key doesn't have access. |
| `PNMalformedResponseCategory` | Request received in response non-JSON data. It can be because of publish WiFi hotspot which require authorization or proxy server message. |
| `PNBadRequestCategory` | Request can't be completed because not all required values has been passed or passed values has unexpected data type. |
| `PNDecryptionErrorCategory` | Message Persistence API may return this status category in case if some messages can't be decrypted. Unencrypted message will be returned in `status.associatedObject` where `associatedObject` is `PNMessageData` which contain channel and message properties. |
| `PNTimeoutCategory` | Used API didn't received response from server in time. |
| `PNUnknownCategory` | No specific category was assigned to the request. |
| `PNUnexpectedDisconnectCategory` | The SDK is not able to reach PubNub servers 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. |
| `PNUnexpectedDisconnectCategory` | The SDK is not able to reach PubNub servers 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. |
| `PNCancelledCategory` | Request was cancelled by user. |
| `PNUnknownCategory` | Unknown error happened. |

## Exceptions

| Class | Description |
| --- | --- |
| `PubNubBuildRequestException` | Error during building HTTP request to the server. Some passed in values are incorrect or have a wrong type. |
| `PubNubConnectionException` | Network connection error |
| `PubNubResponseParsingException` | Response from server is malformed or parsed incorrectly. |
| `PubNubServerException` | Server responded with error like Bad Request or Access Denied. Check for the error message for details. |
| `PubNubValidationException` | Error validating params like Missing Channel, Missing Publish key, Missing Secret Key, etc. |