API authentication failures#
Observation |
Meaning and next action |
|---|---|
DNS failure, connection refused, timeout |
The endpoint was not reached; token validity remains unverified. Check the trusted HTTPS origin and network access. |
Certificate validation fails |
Obtain the host-approved CA configuration for this client; keep TLS verification enabled. |
HTTP 401 |
Credential was rejected. Possible causes include missing, expired, revoked, or wrong-audience credentials. Use authorized token metadata or a successful independent check to distinguish them. |
HTTP 403 / insufficient scope |
Access was denied; preserve the returned reason. Check scopes against the requested operation rather than repeatedly logging in. |
Identity succeeds, discovery fails |
Identity is verified, but API setup is incomplete. Report the failed discovery check. |
Saved credential store has unsafe ownership/permissions |
Report the official client’s store error and the expected permissions; do not copy credentials to a less restrictive location. |
CLI/client absent or browser consent unavailable |
Report the prerequisite or pending user action. Do not implement an alternative OAuth client in the skill. |
Native login rejects issuer/authorization metadata |
Report the client compatibility error, including an exact issuer mismatch if returned. Do not rewrite issuer metadata or weaken validation; use the supported scoped personal-token route when appropriate. |
API personal tokens target the GeoNeMo server origin; HTTP MCP tokens target its MCP resource URL.
Matching hostnames and scopes do not make them interchangeable. /v1/auth/me is an API check,
not a check for an HTTP MCP token. A generic 401 does not establish a wrong audience.
Reuse the selected identity and preserve valid configuration. Retest only after a relevant change such as a corrected endpoint, completed consent, replacement credential, or approved trust fix. If API succeeds and MCP fails, report each state separately. Never infer that authentication establishes tenant isolation, detector readiness, or permission for publication.