{"result":{"depiction_url":null,"edges":{"relation":{"objects":[{"created":"2026-10-07T11:13:30Z","object_id":{"id":2960,"is_a":["text","documentation","developerguide"],"name":"developer_model_api","title":{"_type":"trans","tr":{"en":"Expose data through a model"}},"uri":"https:\/\/zotonic.com\/id\/2960"},"seq":1},{"created":"2026-10-07T11:13:30Z","object_id":{"id":2949,"is_a":["text","documentation","developerguide"],"name":"developer_site_context","title":{"_type":"trans","tr":{"en":"Work with a site context"}},"uri":"https:\/\/zotonic.com\/id\/2949"},"seq":2},{"created":"2026-10-07T11:13:30Z","object_id":{"id":1536,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_access_control","title":{"_type":"trans","tr":{"en":"Keep permission checks at the boundary"}},"uri":"https:\/\/zotonic.com\/id\/1536"},"seq":3}],"predicate":{"id":303,"is_a":["meta","predicate"],"name":"relation","title":{"_type":"trans","tr":{"nl":"Relatie","en":"Relation"}},"uri":"http:\/\/purl.org\/dc\/terms\/relation"}},"subject":{"objects":[{"created":"2026-10-07T11:13:30Z","object_id":{"id":2558,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_troubleshooting","title":"Troubleshooting","uri":"https:\/\/zotonic.com\/id\/2558"},"seq":1},{"created":"2026-10-07T11:13:30Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-10-07T11:13:30Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":3},{"created":"2026-10-07T11:13:30Z","object_id":{"id":2613,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_development_and_debugging","title":"Development and debugging","uri":"https:\/\/zotonic.com\/id\/2613"},"seq":4}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":3002,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/3002"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"developer_model_errors","page_url":{"en":"https:\/\/zotonic.com\/docs\/3002\/a-model-returns-an-error-or-no-value","x-default":"https:\/\/zotonic.com\/docs\/3002\/a-model-returns-an-error-or-no-value"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<p>Next, check permissions using the same user and context as the failing request. A successful local admin shell call does not prove that a visitor should receive the value.<\/p>\n<p>Log the operation&#39;s error reason without dumping private payloads. Handle unknown paths and expected access errors separately from unexpected failures so callers can respond appropriately.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2026-10-07T11:12:57Z","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"doc_editorial_bundle":true,"doc_editorial_edges":{"relation":[1536,2949,2960],"subject":[2558,2564,2613,2625]},"is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T20:45:40Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"developer_model_errors","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2026-10-07T11:12:57Z","slug":"a-model-returns-an-error-or-no-value","summary":{"_type":"trans","tr":{"en":"Check the requested path and compare its binary segments with the model callback patterns. Confirm that the callback returns the unused path in the required result structure."}},"title":{"_type":"trans","tr":{"en":"A model returns an error or no value"}},"title_slug":{"_type":"trans","tr":{"en":"a-model-returns-an-error-or-no-value"}},"tz":"UTC","uri":null,"version":19,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/3002","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/3002"}},"status":"ok"}