Change in the data model 2022 R2 vs 2025 R3



Our integrations team is encountering the following error

when consulting the cameras

Cannot deserialize value of type es.apba.infra.pcis.sci2pcis.publisher.model.milestone.restfull.SettingsChildItem from Array value (token JsonToken.START_ARRAY)
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 1874] (through reference chain: es.apba.infra.pcis.sci2pcis.publisher.model.milestone.restfull.ArraySettings[“array”]->java.util.ArrayList[0]->es.apba.infra.pcis.sci2pcis.publisher.model.milestone.restfull.Settings[“generalSettings”])


What is causing this error? Has the data model changed?

Thanks, Regards

We have a guess.

Well it is a bit hard when we only have a stack-trace from your code but one guess could be that we have changed the REST API for devices not to included the child items per default.
If that is the case you should include this in your GET request:
?includeChildren=settings

I don’t see that it has changed for the documentation notes, but if my guess is correct you might find some extra information on this topic: RestAPI incomplete