Tm1ErrorKind
from skipcheck_tm1 import Tm1ErrorKind What a TM1 error means, as worked out by Tm1ErrorClassifier. More specific than
the HTTP status, since TM1 reports many different failures with the same status and
code.
Members
NOT_FOUND static | The object doesn't exist. |
ALREADY_EXISTS static | An object with that name already exists. |
LOCKED static | The object is locked. |
IN_USE static | The object can't be changed or deleted because something uses it. |
CONFLICT static | The request conflicts with the object's state (409, otherwise unclassified). |
PRECONDITION_FAILED static | The ETag in If-Match is stale (412), or one is required (428). |
UNAUTHENTICATED static | Not logged in, or the session expired (401). |
CREDENTIAL_REJECTED static | The credentials were refused, so logging in again won't help. |
FORBIDDEN static | Not allowed (403). |
NO_READ_RIGHTS static | The user has no read rights to the object (TM1 code 65), e.g. |
IMPERSONATION_REFUSED static | TM1 refused to impersonate the user (for example, an administrator). |
UNKNOWN_USER static | The user to impersonate doesn't exist. |
DATA_SPREAD_FAILED static | A cell write was refused. |
INVALID_UNIQUE_NAME static | An element unique name in the request is invalid (TM1 code 248). |
CANCELLED static | The operation was cancelled, e.g. |
NOT_IMPLEMENTED static | TM1 doesn't implement this request (501). |
OTHER static | Anything else. |
NOT_FOUND
staticNOT_FOUNDThe object doesn't exist. TM1 sometimes reports this with 400 rather than 404.
ALREADY_EXISTS
staticALREADY_EXISTSAn object with that name already exists.
LOCKED
staticLOCKEDThe object is locked.
IN_USE
staticIN_USEThe object can't be changed or deleted because something uses it.
CONFLICT
staticCONFLICTThe request conflicts with the object's state (409, otherwise unclassified).
PRECONDITION_FAILED
staticPRECONDITION_FAILEDThe ETag in If-Match is stale (412), or one is required (428).
UNAUTHENTICATED
staticUNAUTHENTICATEDNot logged in, or the session expired (401).
CREDENTIAL_REJECTED
staticCREDENTIAL_REJECTEDThe credentials were refused, so logging in again won't help.
FORBIDDEN
staticFORBIDDENNot allowed (403).
NO_READ_RIGHTS
staticNO_READ_RIGHTSThe user has no read rights to the object (TM1 code 65), e.g. a new grant not seen by a held session yet.
IMPERSONATION_REFUSED
staticIMPERSONATION_REFUSEDTM1 refused to impersonate the user (for example, an administrator).
UNKNOWN_USER
staticUNKNOWN_USERThe user to impersonate doesn't exist.
DATA_SPREAD_FAILED
staticDATA_SPREAD_FAILEDA cell write was refused: text in a numeric cell, a consolidated or rule-calculated cell, or no rights.
INVALID_UNIQUE_NAME
staticINVALID_UNIQUE_NAMEAn element unique name in the request is invalid (TM1 code 248).
CANCELLED
staticCANCELLEDThe operation was cancelled, e.g. a TI process cancelled from TM1.
NOT_IMPLEMENTED
staticNOT_IMPLEMENTEDTM1 doesn't implement this request (501).
OTHER
staticOTHERAnything else.