---
# System prepended metadata

title: iBMT Error 定義表

---

# iBMT Error 定義表
```javascript=
export const ERROR_TYPE = {
  INTERNAL_SERVER_ERROR: {
    code: 1001,
    message: "Internal server error",
  },
  ACCOUNT_SYSTEM_INTERNAL_SERVER_ERROR: {
    code: 1002,
    message: "Account system internal server error",
  },
  BEACON_SYSTEM_INTERNAL_SERVER_ERROR: {
    code: 1003,
    message: "Beacon system internal server error",
  },
  ACCOUNT_SYSTEM_USER_CONFLICT: {
    code: 2001,
    message: "User already exists",
  },
  ACCOUNT_SYSTEM_USER_NOT_FOUND: {
    code: 2002,
    message: "User not found",
  },
  ACCOUNT_SYSTEM_USER_NOT_LOGIN: {
    code: 2003,
    message: "User not login",
  },
  ACCOUNT_SYSTEM_USER_TOKEN_NOT_FOUND: {
    code: 2004,
    message: "User token not found",
  },
  ACCOUNT_SYSTEM_USER_ALREADY_ACTIVE: {
    code: 2005,
    message: "User already active",
  },
  ACCOUNT_SYSTEM_USER_NOT_ACTIVE: {
    code: 2006,
    message: "User not active",
  },
  BEACON_SYSTEM_DEVICE_NOT_FOUND: {
    code: 2101,
    message: "Beacon not found",
  },
  BEACON_SYSTEM_NO_SUB_DEVICE: {
    code: 2102,
    message: "Did not subscribe to any device",
  },
  BEACON_SYSTEM_MAP_INFO_ALREADY_EXISTS: {
    code: 2103,
    message: "Any of customerID, networkKey or meshID already exists",
  },
  BEACON_SYSTEM_CREATE_MAP_FAIL: {
    code: 2104,
    message: "Create map failed",
  },
  BEACON_SYSTEM_MAP_NOT_FOUND: {
    code: 2105,
    message: "Map not found",
  },
};


```
