[{"data":1,"prerenderedAt":1353},["ShallowReactive",2],{"navigation_docs":3,"-guide-people-and-security-errors":613,"-guide-people-and-security-errors-surround":1350},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":225,"body":615,"description":1331,"extension":1344,"links":1345,"meta":1346,"navigation":1347,"path":226,"seo":1348,"stem":227,"__hash__":1349},"docs\u002F3.guide\u002F4.people-and-security\u002F10.errors.md",{"type":616,"value":617,"toc":1330},"minimark",[618,622,627,700,704,797,816,820,827,835,947,953,976,981,1154,1157,1161,1171,1174,1178,1184,1203,1223,1237,1265,1274,1284,1299,1303,1314,1318],[619,620,621],"p",{},"SHADE keeps its own error log. When something goes wrong in the API, in a module, in a background job or in a\nvisitor's browser on the site, the error is grouped with the same error from before, counted and kept with one\nexample, on the client's own server. Next to it, a few rules watch what SHADE already records (sign-ins, tokens,\nmodules, roles, refused actions, new errors) and email the admins when something needs a look.",[623,624,626],"h2",{"id":625},"what-users-can-do","What users can do",[628,629,630,650,664,670,676,686],"ul",{},[631,632,633,637,638,641,642,645,646,649],"li",{},[634,635,636],"strong",{},"Admins"," read the ",[634,639,640],{},"Errors"," screen: every error group, with how often it happened and the latest example, and\nthe security alerts the rules raised. They resolve a group once it is fixed; if the error happens again, the group\nopens again by itself. A group is an ",[634,643,644],{},"error"," or a ",[634,647,648],{},"warning",": a warning is something that went wrong while the\nwork around it went on (a module's live update that could not go out). Warnings are listed and counted, and the\nscreen filters by level, but a warning never raises the new-error alert and never marks a module as needing\nattention; its health card counts them apart.",[631,651,652,654,655,658,659,663],{},[634,653,636],{}," switch alert rules on and off under ",[634,656,657],{},"Settings",", in the ",[660,661,662],"em",{},"Security alerts"," card. Every rule is on until\nsomeone switches it off; switching one off is emailed to every active admin, so nobody silences the alerts unseen.",[631,665,666,669],{},[634,667,668],{},"Every active admin"," gets an email when a rule raises an alert, in their own admin language, at most once per rule\nper hour. Without email set up, alerts are only listed on the Errors screen.",[631,671,672,675],{},[634,673,674],{},"Editors and AI users"," never see the error log or the alerts, and cannot switch rules.",[631,677,678,681,682,685],{},[634,679,680],{},"A site"," can report its visitors' browser errors to the same log, if its developer turns that on (see ",[660,683,684],{},"On the\nwebsite",").",[631,687,688,691,692,695,696,699],{},[634,689,690],{},"The admin"," reports a module's dashboard card, entry panel or settings section that failed on an editor's screen,\nunder the module's name, with which part it was and the screen's address; never who was signed\nin (see ",[693,694,317],"a",{"href":318},", ",[660,697,698],{},"Where modules appear","). Its text comes from the editor's browser,\nso, like a site's errors, it is counted in the alert emails and never quoted, and it never mixes with the module's\nown server errors.",[623,701,703],{"id":702},"who-may-do-it","Who may do it",[705,706,707,723],"table",{},[708,709,710],"thead",{},[711,712,713,717,720],"tr",{},[714,715,716],"th",{},"Action",[714,718,719],{},"Permission",[714,721,722],{},"Roles",[724,725,726,741,753,764,775,786],"tbody",{},[711,727,728,732,738],{},[729,730,731],"td",{},"Read the error log, the alerts and the alert rules",[729,733,734],{},[735,736,737],"code",{},"errors.read",[729,739,740],{},"admin",[711,742,743,746,751],{},[729,744,745],{},"Resolve or reopen an error group",[729,747,748],{},[735,749,750],{},"errors.manage",[729,752,740],{},[711,754,755,758,762],{},[729,756,757],{},"See the failed deliveries",[729,759,760],{},[735,761,737],{},[729,763,740],{},[711,765,766,769,773],{},[729,767,768],{},"Send a failed delivery again",[729,770,771],{},[735,772,750],{},[729,774,740],{},[711,776,777,780,784],{},[729,778,779],{},"Switch alert rules on or off",[729,781,782],{},[735,783,750],{},[729,785,740],{},[711,787,788,791,794],{},[729,789,790],{},"Report a site error",[729,792,793],{},"none (from the Site URL's address only)",[729,795,796],{},"the site",[628,798,799,807],{},[631,800,801,803,804,806],{},[735,802,737],{}," and ",[735,805,750],{}," belong to admins only. They can never be part of a custom role, and AI\nassistants (MCP) can never use them.",[631,808,809,810,812,813,815],{},"An admin's automation token given ",[735,811,737],{}," may read the log, for a script. Resolving errors and switching alert\nrules (",[735,814,750],{},") are never given to a token: only an admin signed in to the admin does that.",[623,817,819],{"id":818},"in-the-admin","In the admin",[619,821,822],{},[823,824],"img",{"alt":825,"src":826},"The Errors screen with no open errors, and two security alerts below","\u002Fscreenshots\u002Ferrors.png",[619,828,829,831,832,834],{},[634,830,640],{}," (Settings → Records, needs ",[735,833,737],{},"):",[628,836,837,866,880,891,908,941],{},[631,838,839,840,695,843,846,847,850,851,854,855,858,859,803,862,865],{},"A table of error groups, last seen first, 50 per page: ",[660,841,842],{},"Last seen",[660,844,845],{},"Source"," (API, Module hook, Background job,\nUntrusted module, Site, or Module ",[660,848,849],{},"name"," for a module that could not load), ",[660,852,853],{},"Error"," (its name and message, the\nrequest's method and path, and ",[660,856,857],{},"Happened again"," for a resolved group that came back), ",[660,860,861],{},"Times",[660,863,864],{},"Last 14 days","\n(small bars, one per day).",[631,867,868,869,872,873,876,877,879],{},"A search over the name and the message, and ",[660,870,871],{},"Filters"," beside it: ",[660,874,875],{},"Status"," (Open, Resolved, All; Open by default) and\n",[660,878,845],{},". A filter that is on shows under the search, where × takes it off.",[631,881,882,883,886,887,890],{},"The info button opens ",[660,884,885],{},"Details",": first and last seen, how often, the source, ",[660,888,889],{},"Reported by"," (SHADE itself, or a\nbrowser: then the message is the browser's own text, or anyone's), the module and the hook or job it came from, the\nrequest's method, path and id, the SHADE version, and the stack.",[631,892,893,896,897,899,900,903,904,907],{},[660,894,895],{},"Resolve"," (in the row and in ",[660,898,885],{},") marks a group resolved, with ",[660,901,902],{},"Undo"," in the message; ",[660,905,906],{},"Reopen"," undoes it\nlater. Both are in the audit log. A group that happened again after you opened the screen stays open, and the\nmessage says so: the new occurrence is never hidden.",[631,909,910,911,914,915,918,919,922,923,926,927,695,930,803,933,936,937,940],{},"Below, ",[634,912,913],{},"Failed deliveries",": changes SHADE told its own parts about (an entry saved, published or deleted, heard by\nsearch, moved addresses and reviews) that did not get through after all their tries, newest first, 50 per page:\n",[660,916,917],{},"Event"," (its name and what it is about), ",[660,920,921],{},"Subscriber"," (the part that did not get it, such as ",[735,924,925],{},"search.index","),\n",[660,928,929],{},"Tries",[660,931,932],{},"Last error",[660,934,935],{},"Gave up",". ",[660,938,939],{},"Resend"," tries it once more, on the worker; it is in the audit log. An event\nno longer kept (after its retention) can't be sent again and says so. A feature's health card on the Modules page\nlinks here when its jobs gave up.",[631,942,943,944,946],{},"Below that, ",[634,945,662],{},": the latest alerts, newest first, each with its rule, how often it fired within its hour,\nwhether the admins were emailed, when, and what it saw.",[619,948,949,952],{},[634,950,951],{},"Settings → Security alerts"," (admins only): one switch per rule, each saved at once. A warning shows when email is\nnot set up.",[619,954,955,958,959,962,963,966,967,970,971,975],{},[634,956,957],{},"Background work is not running"," (every screen, every team member). Scheduled publish, retention, email retries,\nthe security alerts themselves and the modules' schedules run in the instance's worker container, never\nin the admin's. When no worker container has answered for two minutes, a red message stays in the corner of every\nscreen: ",[660,960,961],{},"Background work is not running: no worker container answers"," (Dutch: ",[660,964,965],{},"Achtergrondwerk draait niet: geen\ncontainer met de containerrol worker antwoordt","). Admins also see when the last heartbeat came in and from which\nworker container. It goes away within a minute once a worker runs again. The error log gets the same message once an\nhour while it lasts (source API, ",[660,968,969],{},"background work","), so it is in the log even when nobody is signed in. On a\ndevelopment instance (everything in one process) it never shows. Whoever runs the instance starts the worker\ncontainer: ",[693,972,974],{"href":973},"\u002Frun\u002Fcoolify#the-template-as-one-docker-compose-resource","Setting up an instance",": the template has one.",[977,978,980],"h3",{"id":979},"the-alert-rules","The alert rules",[705,982,983,993],{},[708,984,985],{},[711,986,987,990],{},[714,988,989],{},"Rule",[714,991,992],{},"Raised when",[724,994,995,1003,1011,1019,1027,1035,1043,1051,1059,1074,1086,1100,1111,1122,1130,1142],{},[711,996,997,1000],{},[729,998,999],{},"Many failed sign-ins",[729,1001,1002],{},"Ten or more failed sign-ins within 15 minutes, for any accounts.",[711,1004,1005,1008],{},[729,1006,1007],{},"Repeated refusals for too many requests",[729,1009,1010],{},"Three or more addresses refused for too many requests within an hour.",[711,1012,1013,1016],{},[729,1014,1015],{},"A new API token",[729,1017,1018],{},"Someone created an API token.",[711,1020,1021,1024],{},[729,1022,1023],{},"A module installed or stopped",[729,1025,1026],{},"A module was installed, or an untrusted module was stopped over its limits.",[711,1028,1029,1032],{},[729,1030,1031],{},"A new admin or a role change",[729,1033,1034],{},"Someone was created as an admin or made an active admin again, someone's role or custom role changed, or a custom role was created or changed.",[711,1036,1037,1040],{},[729,1038,1039],{},"A user was given a role that gives roles",[729,1041,1042],{},"A user was given a module's account role whose members may give roles themselves (such as a manager), by an admin or by another user. Taking a role away, or giving one that gives none, raises nothing.",[711,1044,1045,1048],{},[729,1046,1047],{},"Many refused actions by one account",[729,1049,1050],{},"One account was refused 20 or more actions within an hour (in the admin, over the API or over MCP). A module acting as itself is no account and is not counted here: anyone on the internet can make its public routes try what it may not do.",[711,1052,1053,1056],{},[729,1054,1055],{},"Many refused actions by one module",[729,1057,1058],{},"A module acting on its own (its background work, its routes for visitors and for anyone) was refused 10 or more actions within an hour: actions its consent did not give it. The alert names the module. A module that keeps trying is broken, or someone is pushing it.",[711,1060,1061,1064],{},[729,1062,1063],{},"Rules of a module",[729,1065,1066,1067,1070,1071,685],{},"A trusted module may bring alert rules of its own, listed here with its name once it is installed. Payments brings ",[660,1068,1069],{},"Payment webhooks are being refused",": calls to its webhook named no Mollie payment, or one this site never started, in 5 or more minutes of the last 15 (",[693,1072,1073],{"href":358},"Payments",[711,1075,1076,1079],{},[729,1077,1078],{},"A module needs attention",[729,1080,1081,1082,1085],{},"A module has needed attention for 10 minutes: a process that stopped, a schedule whose last run failed, 10 or more errors in two hours, or its own check. Raised once per stretch; the alert says in plain words what is wrong and what to do, and never quotes the module's own note. See the module's health on the ",[693,1083,1084],{"href":318},"Modules page",".",[711,1087,1088,1091],{},[729,1089,1090],{},"An outside service keeps failing",[729,1092,1093,1094,1097,1098,1085],{},"SHADE has not called an outside service for 10 minutes in a row because it kept failing: a payment provider, email, storage, a webhook address or a host a module calls. Named by who calls it and its host, once per stretch. See ",[660,1095,1096],{},"Outside services"," on the ",[693,1099,1084],{"href":318},[711,1101,1102,1104],{},[729,1103,1078],{},[729,1105,1106,1107,1085],{},"A switchable module was paused after repeated failures (the alert says why; resume it under Settings, Modules), or a module SHADE needs has kept failing for 10 minutes. See ",[693,1108,1110],{"href":1109},"\u002Fguide\u002Fwebsite\u002Fsite-settings#a-paused-module","Site settings: a paused module",[711,1112,1113,1116],{},[729,1114,1115],{},"A program approved or revoked",[729,1117,1118,1119,685],{},"An admin approved one of the client's programs, which gives it a token of its own, or revoked one (",[693,1120,1121],{"href":350},"Programs",[711,1123,1124,1127],{},[729,1125,1126],{},"A new error",[729,1128,1129],{},"An error that was not in the log before. What browsers reported is only counted, never quoted: a site's errors (\"2 new browser errors\") come from visitors' browsers, and modules' admin parts that failed (\"2 new errors reported from the team's browsers\") from editors'. A server error is quoted, without addresses or secrets, in at most 120 characters.",[711,1131,1132,1135],{},[729,1133,1134],{},"A usage limit is nearly or fully reached",[729,1136,1137,1138,1085],{},"One of the limits whoever runs your server set (storage, the database, entries, team members, users, emails a day, queued jobs, API requests) reached 80% or 100%. Raised once per limit and level a day. See ",[693,1139,1141],{"href":1140},"\u002Fguide\u002Fwebsite\u002Fsite-settings#usage-settings-usage","Settings, Usage",[711,1143,1144,1147],{},[729,1145,1146],{},"Email to your own address is blocked",[729,1148,1149,1150,685],{},"A team member's address, or one a form sends its submissions to, was blocked after a bounce or a spam complaint. The alert names the team member or the form, never the address. Unblock it on the Email screen once the mailbox works (",[693,1151,1153],{"href":1152},"\u002Fguide\u002Fservices\u002Femail#bounces-and-complaints","Email: bounces and complaints",[619,1155,1156],{},"The rules are checked every minute. An alert takes in what follows within its hour (counted on the same alert, no new\nemail); after the hour, the rule can raise a new one. A rule that fails is skipped for that minute without stopping\nthe others, and an alert is emailed only once it is stored, so the same alert never goes out twice.",[623,1158,1160],{"id":1159},"on-the-website","On the website",[619,1162,1163,1164,1167,1168,1085],{},"Nothing changes on the site by itself. A site's developer can turn on error reports (see\n",[693,1165,1166],{"href":504},"Frameworks","): the visitor's browser then sends errors the page did not\nhandle to SHADE, without cookies, with the page's path only. They show on the Errors screen as ",[660,1169,1170],{},"Site",[619,1172,1173],{},"SHADE takes these reports only from the Site URL's own address (not from the other frontends listed under Settings),\nat most 16 KB each and 30 per visitor address per ten minutes. After 100 new kinds of site error in an hour, further\nnew ones are counted in one group, so nobody can fill the log with made-up errors; errors already in the log keep\nbeing counted on their own group.",[623,1175,1177],{"id":1176},"rules-and-limits","Rules and limits",[619,1179,1180,1183],{},[634,1181,1182],{},"What is kept."," One group per error, by its fingerprint (where it came from, the error's name and the top of its\nstack, without line numbers or build hashes), with:",[628,1185,1186,1189,1200],{},[631,1187,1188],{},"first and last seen, a count, and a count per hour (for the screen's last 14 days);",[631,1190,1191,1192,1195,1196,1199],{},"one example, the latest: name, message, stack, request id, method and path. The request id is the one in the log's\nlines and the ",[735,1193,1194],{},"X-Request-Id"," header; for a job that failed it is the id of the request that queued it\n(",[693,1197,1198],{"href":91},"Logs and request ids",");",[631,1201,1202],{},"the SHADE version, and whether it is resolved.",[619,1204,1205,1208,1209,1212,1213,695,1216,695,1219,1222],{},[634,1206,1207],{},"What is never kept:"," request bodies, headers, cookies, IP addresses and query strings. Email addresses, IP\naddresses, query strings, user names and passwords in addresses (",[735,1210,1211],{},"https:\u002F\u002Fuser:password@…","), API tokens, bearer and\nbasic credentials, and payment providers' keys (",[735,1214,1215],{},"live_…",[735,1217,1218],{},"test_…",[735,1220,1221],{},"sk_live_…",") are also taken out of messages and\nstacks before anything is stored.",[619,1224,1225,1228,1229,1232,1233,1236],{},[634,1226,1227],{},"Where errors come from:"," a request to SHADE that fails unexpectedly (the visitor still sees a plain ",[660,1230,1231],{},"Internal\nserver error",") or is turned away because too many passwords are waiting to be checked, visitors' sign-ins on the site\nincluded; an AI assistant's tool call that fails inside (the assistant only reads ",[660,1234,1235],{},"Internal error","); a module's hook or\nbackground job that fails; a module's server part that SHADE leaves out when loading; an untrusted module that cannot\nbe loaded or whose process stops; a failure inside SHADE's server that nothing handled (recorded, then the server\nrestarts, as it always did); and the site. Every one is still written to the server's console as well.",[619,1238,1239,1242,1243,1246,1247,1250,1251,1253,1254,1256,1257,1260,1261,1264],{},[634,1240,1241],{},"Sign-ins and refusals."," Every failed sign-in (a wrong password, an unknown address, a wrong two-factor or backup\ncode) is in the ",[693,1244,1245],{"href":262},"audit log"," as ",[735,1248,1249],{},"team.login-failed",", with the address tried and a hash of the IP address.\nEvery refused action (FORBIDDEN) is counted per account per hour, for the ",[660,1252,1047],{}," rule;\na module acting as itself is counted per module per hour instead, for ",[660,1255,1055],{},". The first\nrefusal of each hour is also in the audit log (",[735,1258,1259],{},"refusal.permission"," or ",[735,1262,1263],{},"refusal.package","), with the action and why it\nwas refused, so \"why can't they?\" can be looked up there.",[619,1266,1267,1270,1271,1273],{},[634,1268,1269],{},"How long."," Error groups are kept for 30 days after they last happened, together with the refused-action counts and\nthe alerts; admins can change it, down to 7 days (",[693,1272,273],{"href":274},"). Failed sign-ins follow the audit\nlog's period.",[619,1275,1276,1279,1280,1283],{},[634,1277,1278],{},"Personal data."," The ",[693,1281,1282],{"href":270},"Personal data"," screen lists the error log as a kind that holds no personal\ndata, with the reason. The refused-action counts of an editor and the alerts about the editor (something they did,\nor something done to their account) are security records, found by the editor's address and kept for the error log's\nperiod. Each alert keeps the accounts it is about, so the screen never finds an alert because a name happens to be in\nits text. Failed sign-ins are found by the address tried.",[619,1285,1286,1289,1290,1293,1294,1298],{},[634,1287,1288],{},"Outside services."," None, unless the operator turns it on: everything stays on the client's server. The operator can\nsend each stored error, scrubbed of personal data, to a GlitchTip or Sentry the client chooses, and may add the ",[660,1291,1292],{},"error\nforwarding"," module to route them (the module is tried first, SHADE's own sending is the fallback; an error goes once).\nErrors that browsers wrote go only when the operator allows it. Both are off by default; the settings are in\n",[693,1295,1297],{"href":1296},"\u002Frun\u002Flogs#error-reporting","Error reporting",". Admins see no difference on this screen.",[623,1300,1302],{"id":1301},"for-developers","For developers",[619,1304,1305,1306,1309,1310,1313],{},"The code and its tests: ",[735,1307,1308],{},"shade\u002Ffeatures\u002Ferrors\u002FREADME.md"," in the ",[735,1311,1312],{},"shade"," repository.",[623,1315,1317],{"id":1316},"limitations","Limitations",[628,1319,1320,1327],{},[631,1321,1322,1323,1326],{},"Sending errors on to a GlitchTip or Sentry is SHADE's own (the operator's DSN) or the ",[693,1324,1325],{"href":346},"error forwarding module",", which gets each error first and sends it by its rules.",[631,1328,1329],{},"Site errors are only taken from the Site URL's origin, not from the other frontends listed under Settings.",{"title":1331,"searchDepth":1332,"depth":1332,"links":1333},"",2,[1334,1335,1336,1340,1341,1342,1343],{"id":625,"depth":1332,"text":626},{"id":702,"depth":1332,"text":703},{"id":818,"depth":1332,"text":819,"children":1337},[1338],{"id":979,"depth":1339,"text":980},3,{"id":1159,"depth":1332,"text":1160},{"id":1176,"depth":1332,"text":1177},{"id":1301,"depth":1332,"text":1302},{"id":1316,"depth":1332,"text":1317},"md",null,{},true,{"title":225,"description":1331},"3kFwnncPhvj9UWxleV6SxOiqmveeHbXtOise_QTwGBg",[1351,1352],{"title":221,"path":222,"stem":223,"description":1331,"children":-1},{"title":229,"path":230,"stem":231,"description":1331,"children":-1},1796500159265]