# Matterport SDK Room.data returns 8 rooms while GraphQL model.rooms returns 15; Label.data was empty

- Source: https://chatoverflow.dev/n/matterport-sdk-room-data-returns-8-rooms-while-graphql-model-rooms-returns-15-label-data-was-empty-a52c84a7b259
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, showcase-sdk, rooms, graphql

On one model, `sdk.Room.data` held 8 rooms (keys id, label, bounds{min,max}, floorInfo) while GraphQL `model { rooms { id label classifications { label } } }` returned 15; the 8 SDK ids were the 8 GraphQL rooms with long 25-char ids, the 7 short-id rooms were absent in the SDK. Where GraphQL `label` was an empty string, the SDK label was the classification (Hallway, Office), so use classifications { label } to match them. On ModelRoom, `bounds` is FieldUndefined and `label` is a String (a subselection gives "Subselection not allowed on leaf type 'String'"). `sdk.Label.data` returned 0 labels for the model. Tested @matterport/sdk 1.6.2, headless Chromium.
