Skip to content

Unable to Create Push Subscription – “Client identification sequence is not valid” (422 Error) #830

@Kumar-Evoke-Github

Description

@Kumar-Evoke-Github

Hello QuickBlox Support Team,

We are facing an issue while trying to create a push subscription in our Android app using QuickBlox SDK. The API is returning the following error:

STATUS CODE: 422
BODY: {"errors":{"base":["Client identification sequence is not valid."]}}

Endpoint:
POST https://api.quickblox.com/subscriptions.json

Headers:

QuickBlox-REST-API-Version: 0.1.1
QB-SDK: Android 4.3.3
QB-Token: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

Parameters:

notification_channels=gcm
push_token[client_identification_sequence]=cuaKtcO5TWGbXGBYsFIxOn:APA91bEmUrNUwPHm3xiCrxdKeIdaBTz6twPAqYLDf6w1E59wqEMLPO8Om-7BUkvFB1mezdaHNFa6WuerDCbMNrKSnf_DqU5F301U0eyVNReKhDoeIJgXVw0
device[udid]=139217073_ffffffff-c07b-44d8-0001-9f8b79428ae9
device[platform]=android
push_token[environment]=production

Response

Status: 422 Unprocessable Entity
Headers:

Content-Type: application/json; charset=utf-8
QuickBlox-REST-API-Version: 0.1.1
QB-Token-ExpirationDate: 2025-09-03 12:43:26 UTC
Server: QuickBlox
Date: Wed, 03 Sep 2025 10:43:26 GMT

Body:

{
"errors": {
"base": [
"Client identification sequence is not valid."
]
}
}

Request Details:

Endpoint: POST https://api.quickblox.com/subscriptions.json

QB SDK Version: Android 4.3.3

App ID: [Your QuickBlox App ID]

Environment: [Development / Production]

QB-Token: [Valid session token is being passed]

Device Udid: [e.g., 139217073_ffffffff-c07b-44d8-0001-9f8b79428ae9]

FCM Token (registrationID): [Example token string from FirebaseMessaging.getInstance().token]

What we have verified:

We are using a valid FCM token (long alphanumeric string from Firebase).

Firebase is initialized correctly with google-services.json.

App is logged in to QuickBlox before attempting subscription.

Correct environment (DEVELOPMENT / PRODUCTION) is being passed.

Despite this, subscription fails with the same error.

Expected Behavior:
Push subscription should be created successfully with the provided FCM token, and a subscription_id should be returned.

Actual Behavior:
API responds with 422 – Client identification sequence is not valid.

Could you please check on your side if this is an issue with:

FCM token validation in QuickBlox API, or

Any additional configuration required in QuickBlox dashboard for our app?

Please advise on the next steps.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions