Error codes:

Error Code Description
-1 System error
9002001 Invalid request method
9002002 System exception
9002003 Network exception. Background service timed out. Try again later.
9002004 An exception occurred while calling background service.
9002005 Authentication failed
9002006 The Wi-Fi via Weixin plug-in is not activated.
9002007 Required parameters are missing.
9002008 Invalid parameter
9002009 Invalid store ID
9002010 Both SSID and password do not begin with "WX". An device cannot be added unless either of SSID and password begins with "WX".
9002011 SSID cannot contain Chinese characters.
9002012 Password cannot contain Chinese characters.
9002013 Password must be more than 8 characters.
9002014 Devices under a store have different passwords.
9002015 Devices under a store do not belong to the same SSID
9002016 The device has been added.
9002017 The device cannot be deleted because it does not exists.
9002018 Store has specialized device. Unable to set pinned entry on top.
9002019 No device is added under the store.
9002020 Merchant homepage is not available to unverified accounts.
9002022 Non-password-based device has been added under the store. No password-based device can be added.
9002023 Cannot be obtained by unverified accounts
9002024 No password-based device is added under the account.
9002025 Cannot be obtained unless all devices under the account are password-based devices.
9002026 The number of lists to be queried exceeds the limit
9002027 QR code cannot be downloaded because non-password-based devices are added under the store.
9002028 Non-portal-based device has been added under the store.
9002029 Cannot be obtained by unauthorized third parties
9002030 No portal-based device is registered or enabled.
9002031 The QR code cannot be downloaded because the current connection method of the store does not support connecting Wi-Fi network by scanning the QR code.
9002032 Cannot be obtained unless all devices can be connected via Weixin.
9002033 Cannot be obtained unless a device is added under the account.
9002034 Cannot be obtained because a specialized device is added under the account.
9002035 The network configuration and devices under the store cannot be cleared due to the current connection method.
9002037 Only SSID can be modified for portal-based devices.
9002038 SSID must begin with "WX".
9002039 Modification is not allowed due to no network information under the store.
9002040 Network information cannot be modified if a specialized device is added under the store.
9002041 Not available to unverified accounts
9002042 The Wi-Fi network connection completion page cannot be set due to the current connection method of the store.
9002044 SSID must be between 1 and 32 bytes.
9007001 The SSID already exists under the store.
9007003 Inconsistent with the device type under the store
9007004 Store's SSID cannot be found.
9007005 The number of devices with different SSIDs under the store exceeds the limit.
9007006 Stores without protocol device do not support QR code download.
9007007 Stores with specialized device do not support QR code download.
9008001 No card/coupon was found.
9008002 Issuance time must be within the validity period of the card/coupon.
9008003 The length of URL shall not exceed 255 characters.
9008004 URL cannot contain Chinese characters.