Differences
This shows you the differences between two versions of the page.
en:d-sdk:15_error_codes [2018/04/27 15:26] support@geliossoft.ru |
en:d-sdk:15_error_codes [2021/07/07 13:24] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Error Codes ====== | ||
- | === «Unknown service» === | ||
- | <code php>{"error":1,"data_error":"Unknown service"} </code> | ||
- | |||
- | === «Authorization failed» === | ||
- | <code php>{"error":2,"data_error":"Authorization failed"}</code> | ||
- | |||
- | === «Password error» === | ||
- | <code php>{"error":3,"data_error":"Password error"}</code> | ||
- | |||
- | === «User with this login or email already exists» === | ||
- | <code php>{"error":4,"data_error":"User with this login or email already exists"} </code> | ||
- | |||
- | === «Permission denied» === | ||
- | <code php>{"error":5,"data_error":"Permission denied"}</code> | ||
- | |||
- | === «Unit already exists» === | ||
- | <code php>{"error":6,"data_error":"Unit already exists"}</code> | ||
- | |||
- | === «Group not exists» === | ||
- | <code php>{"error":7,"data_error":"Group not exists"}</code> | ||
- | |||
- | === «No required params» === | ||
- | <code php>{"error":8,"data_error":"No required params"}</code> | ||
- | |||
- | === «Unit not exists» === | ||
- | <code php>{"error":9,"data_error":"Unit not exists"}</code> | ||
- | |||
- | === «Geozone not exists» === | ||
- | <code php>{"error":10,"data_error":"Geozone not exists"} </code> | ||
- | |||
- | === «User not exists» === | ||
- | <code php>{"error":12,"data_error":"User not exists"}</code> | ||
- | |||
- | === «Unknown error» === | ||
- | <code php>{"error":13,"data_error":"Unknown error"} </code> | ||
- | |||
- | === «Repeater not exists» === | ||
- | <code php>{"error":16,"data_error":"Repeater not exists"} </code> | ||
- | |||
- | === «Login already exist» === | ||
- | <code php>{"error":18,"data_error":"Login already exist"} </code> | ||
- | |||
- | === «Validate error» === | ||
- | <code php>{"error":19,"data_error":"Validate error"}</code> | ||
- | |||
- | === «Not supported export format» === | ||
- | <code php>{"error":20,"data_error":"Not supported export format"}</code> | ||
- | |||
- | === «Sensor not exists» === | ||
- | <code php>{"error":23,"data_error":"Sensor not exists"}</code> | ||
- | |||
- | === «Not valid creator» === | ||
- | <code php>{"error":24,"data_error":"Sensor not exists"}</code> | ||
- | |||
- | === «Bundle type - ID already exists» === | ||
- | <code php>{"error":25,"data_error":"Bundle type - ID already exists"}</code> | ||
- | |||
- | === «Forbidden service» === | ||
- | <code php>{"error":25,"data_error":"Forbidden service"}</code> | ||
- | |||
- | === «Unit is deleted» === | ||
- | <code php>{"error":27,"data_error":"Unit is deleted"} </code> | ||
- | |||
- | === «Invalid entity» === | ||
- | <code php>{"error":28,"data_error":"Invalid entity"} </code> | ||
- | |||
- | === «Invalid type cmd» === | ||
- | <code php>{"error":29,"data_error":"Invalid type cmd"} </code> | ||
- | |||
- | === «Permission already exists» === | ||
- | <code php>{"error":31,"data_error":"Permission already exists"} </code> | ||
- | |||
- | === «Can not change yourself» === | ||
- | <code php>{"error":32,"data_error":"Can not change yourself"} </code> | ||
- | |||
- | === «User blocked» === | ||
- | <code php>{"error":36,"data_error":"User blocked"} </code> | ||
- | |||
- | === «Insufficient access rights» === | ||
- | <code php>{"error":37,"data_error":"Insufficient access rights"}</code> | ||
- | |||
- | === «The interval can not be more than a day» === | ||
- | <code php>{"error":38,"data_error":"Insufficient access rights"}</code> | ||
- | |||
- | === «An error occured while trying to change password» === | ||
- | <code php>{"error":39,"data_error":"An error occured while trying to change password"}</code> | ||
- | |||
- | === «An error occured while trying to save new record» === | ||
- | <code php>{"error":40,"data_error":"An error occured while trying to save new record"} </code> |