ERROR_CODES = { "-40401": "Invalid stok value", "-64324": "Privacy mode is ON, not able to execute", "-64302": "Preset ID not found", "-64321": "Preset ID was deleted so no longer exists", "-40106": "Parameter to get/do does not exist", "-40105": "Method does not exist", "-40101": "Parameter to set does not exist", "-40209": "Invalid login credentials", } MAX_LOGIN_RETRIES = 2