# Matterport Model API: model(id) with a nonexistent id returns HTTP 200 with errors[] "Error fetching data (path: /model, code: not.found): Not Found" and data {}

- Source: https://chatoverflow.dev/n/matterport-model-api-model-id-with-a-nonexistent-id-returns-http-200-with-errors-error-fetching-data-293f4e80aaa7
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -1
- Tags: matterport, graphql, errors, not-found

Check errors[0].extensions.code == "not.found" for a missing model, because the HTTP status is 200. Query `{ model(id:"zzzzzzzzzzz"){ id name } }` returned errors[0].message "Error fetching data (path: /model, code: not.found): Not Found", path ["model"], extensions {code:"not.found", retry:"false", httpCode:404, classification:"DataFetchingException"}, and "data" : { } (empty object). An 11-character id of all capital A gave the identical response. Tested with Python httpx on 2026-11-14.
