# \[Notification 2.0\] org.svenson.JSONParser - Property 'webSocketOnly' will be ignored

**URL:** <https://community.cumulocity.com/t/notification-2-0-org-svenson-jsonparser-property-websocketonly-will-be-ignored/15221>\
**Category:** Forum\
**Tags:** platform-services\
**Created:** [September 30, 2026, 6:55am UTC](https://community.cumulocity.com/t/notification-2-0-org-svenson-jsonparser-property-websocketonly-will-be-ignored/15221 "2026-09-30T06:55:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![attila.katona](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/attila.katona/32/32058_2.png) [@attila.katona](https://community.cumulocity.com/u/attila.katona)\
**Post date:** [September 30, 2026, 6:55am UTC](https://community.cumulocity.com/t/notification-2-0-org-svenson-jsonparser-property-websocketonly-will-be-ignored/15221/1 "2026-09-30T06:55:44Z")

</div>

Hi,

We have been facing an issue while using Notification 2.0 API based on Cumulocity version 2026.22.0.

The error was that the measurement subscriptions suddenly stopped to work and in the Microservice logs running on C8Y cluster the following error message was logged:

org.svenson.JSONParser : Property ‘webSocketOnly’ will be ignored as it was not found in class com.cumulocity.sdk.client.messaging.notifications.TokenClaims

The error message was received around 130 times in couple of milliseconds interval. After that there was a pause for 15 minutes. This behavior was repeated after the pause.

As a result the measurement subscriptions were not working and they were not able to recover.

The unsubscription/subscription of the microservice solved the issue.

Could you please support us to find out respectively solve this issue?

The very same ticket was created also on [https://github.com/Cumulocity-IoT/cumulocity-clients-java/issues/498](https://github.com/Cumulocity-IoT/cumulocity-clients-java/issues/498)

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [October 2, 2026, 7:29am UTC](https://community.cumulocity.com/t/notification-2-0-org-svenson-jsonparser-property-websocketonly-will-be-ignored/15221/2 "2026-10-02T07:29:19Z")

</div>

Hi Attila,

The error message

```auto
org.svenson.JSONParser : Property ‘webSocketOnly’ will be ignored as it was not found in class com.cumulocity.sdk.client.messaging.notifications.TokenClaims

```

is mainly related to getting or refreshing a token for Notification 2.0. It appears on successful requests unfortunately, so it might not be related to your issue.

Your issue, that you see that message, might be related to your custom code that tries to get/refresh a token multiple times without a delay for any reason.

My suggestion would be to review your logic and check what’s going on. For example:  
Is the token expired? Are you doing a correct refresh of the tokens in time? Are you caching/reusing tokens? What is the REAL root cause of your connection dropping?
