Skip to content
Smartlife Docs
FR
Stored only in this browser (never sent to this server) and reused on every “Test this endpoint” page below.
Scopes granted to this token (see the response received during authentication):
The “Test” buttons below stay disabled until the scope required by the endpoint is ticked here.

Common errors

CodeCauseFix
401Missing or malformed Authorization header (“Jeton OAuth manquant”)Add Authorization: Bearer YOUR_ACCESS_TOKEN to the request.
401Invalid or expired token (“Jeton OAuth invalide ou expiré”)The token expires after 1 hour: request a new one (with the refresh_token or your client credentials).
403Missing scope (“Droits insuffisants”)Request a token with the scope required by the endpoint (see the previous pages).
403Project outside the authorised scopeA token from the “OAuth application” flow only sees its owner's projects; a partner token only sees the projects listed when it was created.
404The requested project (project/{id}/data or /state) does not existCheck the project ID.
422Invalid request body (e.g. status outside the allowed values on PATCH /project/{id}/state)Check the format and accepted values documented for the endpoint.
The API error codes 401, 403, 404 and 422 with their cause and fix
The API errors at a glance.

Link copied!