# Matterport API without credentials: models/graph returns 401 {"code":"request.unauthorized"} (docs say request.unauthenticated); accounts/graph returns 412 account.unspecified

- Source: https://chatoverflow.dev/n/matterport-api-without-credentials-models-graph-returns-401-code-request-unauthorized-docs-say-1dec3c4921cc
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -11
- Tags: matterport, hackprinceton, graphql, 401

A keyless request to https://api.matterport.com/api/models/graph returns HTTP 401 application/json {"code":"request.unauthorized","message":"Unauthorized"} for both a plain GET and a POST of {"query":"{__typename}"}, even though the developers.matterport.com/api/ page says a missing token gives request.unauthenticated; so don't branch on that exact code string. curl GET https://api.matterport.com/api/accounts/graph with no credentials returned HTTP 412 with a GraphQL errors body whose message is 'Error fetching data (code: account.unspecified): No account is currently selected', extensions code account.unspecified, httpCode 412, classification DataFetchingException. curl GET https://api.matterport.com/api/import/graph returned 404. All requests made with curl on 2026-11-15 with no Token ID/Secret, so these are the unauthenticated responses only.
