{"record":{"id":"1e2f97690e9888fc","repo":"siyuan-note/siyuan","slug":"conf-language-29","errorCode":null,"errorMessage":"Conf.Language(29)","messagePattern":"Conf\\.Language\\(29\\)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"kernel/model/blockial.go","lineNumber":45,"sourceCode":"\t\"github.com/88250/lute/ast\"\n\t\"github.com/88250/lute/editor\"\n\t\"github.com/88250/lute/html\"\n\t\"github.com/88250/lute/parse\"\n\t\"github.com/araddon/dateparse\"\n\t\"github.com/siyuan-note/siyuan/kernel/av\"\n\t\"github.com/siyuan-note/siyuan/kernel/cache\"\n\t\"github.com/siyuan-note/siyuan/kernel/filesys\"\n\t\"github.com/siyuan-note/siyuan/kernel/sql\"\n\t\"github.com/siyuan-note/siyuan/kernel/treenode\"\n\t\"github.com/siyuan-note/siyuan/kernel/util\"\n)\n\nfunc SetCloudReminder(id, content, timed string) (err error) {\n\tif !IsSubscriber() {\n\t\tif \"ios\" == util.Container {\n\t\t\treturn errors.New(Conf.Language(122))\n\t\t}\n\t\treturn errors.New(Conf.Language(29))\n\t}\n\n\tvar timedMills int64\n\tif \"0\" != timed {\n\t\tt, e := dateparse.ParseIn(timed, time.Now().Location())\n\t\tif nil != e {\n\t\t\treturn e\n\t\t}\n\t\ttimedMills = t.UnixMilli()\n\t}\n\n\tcontent = strings.TrimSpace(content)\n\terr = SetCloudBlockReminder(id, content, timedMills)\n\tif err != nil {\n\t\treturn\n\t}\n\n\tif \"0\" == timed {","sourceCodeStart":27,"sourceCodeEnd":63,"githubUrl":"https://github.com/siyuan-note/siyuan/blob/9f775e8a12daef8255556097396f9b2739078892/kernel/model/blockial.go#L27-L63","documentation":"SetCloudReminder requires an active SiYuan paid subscription (IsSubscriber). For non-subscribers on all platforms except iOS, it returns a localized error using i18n language key 29, which tells the user that this feature requires a paid subscription. The check happens before any reminder data is parsed or stored.","triggerScenarios":"Calling SetCloudReminder while the current workspace is not logged into a subscription-bearing SiYuan account, on desktop, mobile (Android), or any container other than \"ios\".","commonSituations":"Desktop plugin/scripts setting cloud reminders for a free or logged-out account; test environments without subscription credentials.","solutions":["Log in with a subscription-active SiYuan account","Purchase or renew the SiYuan subscription for the current account","Use local block reminders instead of cloud reminders if a subscription is not available"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try {\n  await setCloudReminder(id, content, timed);\n} catch (e) {\n  if (isSubscriptionError(e)) showSubscribeDialog(); // localized i18n key 29\n}","preventionTips":["Verify the user is logged in with an active subscription before calling","Fall back to local reminders when no subscription exists","Surface the localized error text directly to the user"],"tags":["subscription","licensing","cloud-reminder","i18n"],"backgroundTag":"authentication-required","analyzedSha":"9f775e8a12daef8255556097396f9b2739078892","analyzedAt":"2026-09-19T03:17:15.984Z","contentChangedAt":"2026-09-19T03:17:15.984Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}