1. Create object A 2. Add element B to nested collection field of object A 3. Add element C to nested collection field of object B 4. Change any field of object C Changing B works but C and nested throws exception. **Fix** At [this](https://github.com/spring-projects/spring-data-rest/blob/21e11adfe324504e5edd4b63f9a730fffe8ceb82/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/JsonPointerMapping.java#L111) line `base.nested(segment)` does not always return expected element but it can be obtained by `PropertyPath.from(property, currentType)`. [Example](https://github.com/user-attachments/files/16489412/JsonPatchExample.zip) code with postman and curl requests.