Implementation
final Map<int, String> ezvizErrorCode = {
101001: "Invalid username",
101002: "Username is already taken",
101003: "Invalid password",
101004: "Password consists of the same character",
101006: "Phone number already registered",
101007: "Phone number not registered",
101008: "Invalid phone number",
101009: "Username and phone number do not match",
101010: "Failed to get verification code",
101011: "Incorrect verification code",
101012: "Verification code expired",
101013: "User does not exist",
101014: "Incorrect password or appKey",
101015: "User is locked",
101021: "Invalid verification parameters",
101026: "Email already registered",
101031: "Email not registered",
101032: "Invalid email",
101041: "Verification code requested too frequently",
101043: "Phone verification code entered incorrectly too many times",
102000: "Device does not exist",
102001: "Camera does not exist",
102003: "Device offline",
102004: "Device malfunction",
102007: "Incorrect device serial number",
102009: "Device request response timeout",
105000: "Device already added by yourself",
105001: "Device already added by someone else",
105002: "Incorrect device verification code",
107001: "Invitation does not exist",
107002: "Invitation verification failed",
107003: "Invitation user does not match",
107004: "Unable to cancel invitation",
107005: "Unable to delete invitation",
107006: "Cannot invite yourself",
107007: "Duplicate invitation",
110001: "Parameter error",
110002: "AccessToken abnormal or expired",
110004: "User does not exist",
110005: "AppKey abnormal",
110006: "IP restricted",
110007: "API call limit reached, please upgrade to enterprise version",
110008: "Signature error",
110009: "Signature parameter error",
110010: "Signature timeout",
110011: "Cloud service not enabled",
110012: "Third-party account already bound to Ezviz account",
110013: "Application has no permission to call this interface",
110014: "AppKey's third-party userId and phone not bound",
110017: "AppKey does not exist",
110018: "AccessToken and AppKey do not match",
110019: "Incorrect password",
110020: "Request method is empty",
110021: "Ticket verification failed",
110022: "Invalid destination for transparent transmission",
110023: "AppKey and bundleId do not match",
110024: "No transparent transmission permission",
110025: "AppKey prohibited from using transparent channels",
110026:
"Device limit exceeded for personal version, please upgrade to enterprise version",
110027:
"AppKey limit exceeded, upgrade to enterprise version to remove restriction",
110028:
"Personal version account daily screenshot limit exceeded, please upgrade to enterprise version",
110029:
"Call frequency exceeded personal version limit of 20 times/min, upgrade to enterprise version",
110030: "AppKey and AppSecret do not match, check AppKey and AppSecret",
110031: "Subaccount or Ezviz user has no permission",
110032: "Subaccount does not exist",
110033: "Subaccount does not have an authorization policy",
110034: "Subaccount already exists",
110035: "Failed to get subaccount AccessToken",
110036: "Subaccount is disabled",
110051: "No permission to take screenshot",
120001: "Channel does not exist",
120002: "Device does not exist",
120003: "Parameter error, SDK version too low",
120004: "Parameter error, SDK version too low",
120005: "Security authentication failed",
120006: "Network error",
120007: "Device offline",
120008: "Device response timeout",
120009: "Subaccount cannot add devices",
120010: "Incorrect device verification code",
120012: "Device addition failed",
120013: "Device already added by someone else",
120014: "Incorrect device serial number",
120015: "Device does not support this function",
120016: "Device is formatting",
120017: "Device already added by yourself",
120018: "User does not own this device",
120019: "Device does not support cloud storage",
120020: "Device online, added by yourself",
120021: "Device online, not added by user",
120022: "Device online, added by another user",
120023: "Device offline, not added by user",
120024: "Device offline, added by another user",
120025: "Duplicate share request",
120026: "Video does not exist in video square",
120027: "Video transcoding failed",
120028: "Device firmware upgrade package does not exist",
120029: "Device offline, added by yourself",
120030: "User does not own this video in the video square",
120031:
"Enable terminal binding, please disable terminal binding in Ezviz client",
120032: "Channel does not exist under this user",
120033: "Cannot favorite your own shared video",
120034: "No devices under this user",
120090: "User feedback failed",
120095: "APP package download failed",
120096: "APP package info deletion failed",
120101: "Video cannot be shared with oneself",
120102: "No corresponding invitation information",
120103: "Friend already exists",
120104: "Friend does not exist",
120105: "Friend status error",
120106: "Corresponding group does not exist",
120107: "Cannot add yourself as a friend",
120108: "Current user and the added user are not friends",
120109: "Corresponding share does not exist",
120110: "Friend group does not belong to the current user",
120111: "Friend is not in pending verification status",
120112: "Failed to add user under the app as a friend",
120201: "Failed to operate alarm information",
120202: "Failed to operate message information",
120301: "Alarm message does not exist for the given UUID",
120302: "Image does not exist for the given UUID",
120303: "Image does not exist for the given FID",
120305: "Device IP parsing error",
120401: "User cloud space information does not exist",
120402: "Cloud space operation failed",
120403: "User directory does not exist",
120404: "Target directory does not exist",
120405: "File to be deleted does not exist",
120406: "Cloud storage already enabled",
120407: "Cloud storage activation failed",
120500: "Data retrieval error",
120501: "Unlock failed",
120502: "Indoor unit did not receive call",
120503: "Ringing",
120504: "Indoor unit is in a call",
120505: "Device operation failed",
120506: "Illegal command",
120507: "Smart lock password error",
120508: "Lock/unlock failed",
120509: "Lock/unlock timeout",
120510: "Smart lock device is busy",
120511: "Remote unlocking function not enabled",
120600: "Temporary password limit reached",
120601: "Failed to add temporary password",
120602: "Failed to delete temporary password",
120603: "Temporary password does not exist",
120604: "Fingerprint lock RF communication failed, please try again later",
120605: "Another user is authenticating",
120606:
"Verification started, please verify locally within 120 seconds and call the add device interface",
120607: "Failed to delete user",
120608: "User does not exist",
120609:
"Device response timeout, door lock communication failure, or low battery",
120610: "Failed to get temporary password list",
130001: "User does not exist",
130002: "Phone number already registered",
130003: "Phone verification code error",
130004: "Terminal binding operation failed",
149999: "Data abnormality",
150000: "Server error",
160000: "Device does not support PTZ control",
160001: "User does not have PTZ control permission",
160002: "Device PTZ rotation reached upper limit",
160003: "Device PTZ rotation reached lower limit",
160004: "Device PTZ rotation reached left limit",
160005: "Device PTZ rotation reached right limit",
160006: "PTZ current operation failed",
160007: "Preset point count exceeded max value",
160009: "Preset point being called",
160010: "Preset point is already at the current position",
160011: "Preset point does not exist",
160013: "Device version is up to date",
160014: "Device is upgrading",
160015: "Device is restarting",
160016: "Encryption not enabled, no need to turn off",
160017: "Device screenshot failed",
160018: "Device upgrade failed",
160019: "Encryption enabled",
160020: "Command not supported",
160023: "Subscription operation failed",
160024: "Cancel subscription operation failed",
160025: "Foot traffic statistics configuration failed",
160026: "Device is in privacy shield mode",
160027: "Device is mirroring",
160028: "Device is in key control mode",
160029: "Device is in intercom mode",
160030: "Too many incorrect card key attempts, try again in 24 hours",
160031: "Card key information does not exist",
160032: "Card key status incorrect or expired",
160033: "Card key is not for sale, only activates corresponding bound device",
160035: "Failed to purchase cloud storage",
160040: "Added device not in the same LAN",
160041: "Added device associated with another device or response timeout",
160042: "Incorrect device password",
160043: "Device exceeds max count",
160044: "Device network unreachable, timeout",
160045: "Device IP conflicts with other channel's IP",
160046: "Device IP conflicts with the current device's IP",
160047: "Unsupported stream type",
};