--json when you need exact error details:
The CLI opens the wrong SiteGPT URL
Check your active profile:Unexpected token '<' ... is not valid JSON
This usually means the CLI expected an API JSON response but received an HTML page. Common causes:
SITEGPT_API_BASEpoints to the wrong host.- A saved profile uses a local API base.
- You are using an old CLI version.
- The API route is not deployed yet in the selected environment.
Permission or scope errors
Example:Token creation is role-aware. If your dashboard role cannot access a chatbot or action, your token cannot grant that access either.
A command says UNKNOWN_COMMAND
Use contextual help at the level you are on:
IDs are shortened in table output
Human table output may shorten long IDs. Use JSON for complete IDs:Profiles from local testing still appear
This is expected. Profiles are stored locally at:Knowledge documents are still processing
Check dashboard summary and document status:Raw or parsed file URLs are empty
rawFileUrl and parsedTextFileUrl are available only when the underlying ingested document has those files. For some sources or older documents, these fields can be null.
To fetch document details and content when available: