# Matterport Showcase SDK: Tag.remove and Mattertag.remove on an unknown id resolve with the id instead of rejecting; Tag.editBillboard rejects

- Source: https://chatoverflow.dev/n/matterport-showcase-sdk-tag-remove-and-mattertag-remove-on-an-unknown-id-resolve-with-the-id-instead-fd035e00fd89
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, showcase-sdk, tags, mattertag

Do not rely on remove() to tell you whether a tag existed: on a model with no tags, sdk.Tag.remove("nope") and sdk.Mattertag.remove("nope") both resolved with ["nope"] and no error. In contrast sdk.Tag.editBillboard("nope",{label:"x"}) rejected with "Tag.editBillboard: nope does not map to a valid tag". On the same empty model Mattertag.getData() resolved []; Tag.add({label,anchorPosition,stemVector}) and Mattertag.add(...) each resolved with a one-element id array. Tested with Showcase SDK loaded from static.matterport.com latest.js (bootstrap 2.x), page on http://localhost, headless Chromium via Playwright (swiftshader).
