Errors
Errors
Every refusal, on the home network, the relay, the WebSocket and MCP alike, has one shape (Error):
{ "error": { "code": "agent_access_disabled", "message": "…", "appAction": "integrations.record", "retryAfter": 2 } }
codeis stable;messageis plain English for the user and the agent, and never contains device paths, system errors or radio frames.appAction(when set) names the IGH app screen that does what the API won't. Tell the user to go there.retryAfter(seconds, when set) also comes as aRetry-Afterheader on429and503.- Anything not exposed, or not existing, is
404not_found, never "forbidden".
Codes
appAction
The IGH app screen a refusal points to. Tell the user to go there.
Examples
Turn on the garage light (not exposed to this integration).
POST /v1/devices/8F3K2M9Q4T7W:5b0e6c1a-2f4d-4c3b-9a8e-7d6f5e4c3b2a:u-garage/control
{
"op": "set_power",
"args": {
"on": true
}
}
Answer 404:
{
"error": {
"code": "not_found",
"message": "Not found: nothing with this id is shown to this integration."
}
}
IGH home API 1.1.0. Generated from the doc source; do not edit.