| Posted by: WUICTeam - Friday, October 30, 2026 1:01:16 PM |
|---|
| [b]Update:[/b] the documentation no longer suggests an anonymous curl call: after login the reason is shown in the tooltip of the [b]Trial[/b] badge in the menu bar. Fixed in [url=https://wuic-framework.com/downloads/release-notes#v1.8.2]WUIC Framework 1.8.2[/url]. [i]The original answer below describes versions before 1.8.2.[/i] [b]Question[/b] A fresh install shows only 20 records in every list. The docs say to check [c]/api/Meta/LicenseStatus[/c] with curl to see why, but my response contains no [c]licenseReason[/c]. Is the endpoint broken, and how do I find the reason? [b]Answer[/b] The endpoint is fine: without a logged-in session it deliberately returns only a small subset of the fields, and [c]licenseReason[/c] is not among them. The reason is returned only to a caller with a valid session. [b]What you get, by caller[/b] [list] [*]No session (plain curl): [c]licenseValid[/c], [c]tier[/c], [c]features[/c], [c]bundledHost[/c], [c]bundledHostAppId[/c]. [*]Any logged-in user: the same fields plus [c]licenseReason[/c], [c]licenseExpiryUtc[/c], [c]maintenanceExpiryUtc[/c], [c]dataDbms[/c], [c]metaDbms[/c] and [c]licensedDatabases[/c]. [*]Verified super administrator: also the machine fingerprint and the license holder's email, and the [c]forceRefresh=true[/c] parameter is honoured. [/list] [b]So the check has two steps[/b] [code] # 1. No session: tells you whether you are unlicensed curl -s http://localhost:5000/api/Meta/LicenseStatus # {"licenseValid":false,"tier":...,"features":[...],"bundledHost":false,...} [/code] [c]licenseValid: false[/c] is already enough to confirm that the 20-record cap you see comes from running unlicensed (Trial) and not from the database or from your query. To learn [i]why[/i] (for example [c]invalid_signature[/c], [c]license_expired[/c] or [c]machine_fingerprint_not_authorized[/c]), log in to the application and look at the response of the same request: open the browser DevTools, Network tab, and read the [c]LicenseStatus[/c] call the client makes after login. [b]Common mistake[/b] Don't assume the license is fine because [c]licenseReason[/c] is missing: its absence only means you were not authenticated. Read [c]licenseValid[/c] first, then get the reason with a session. Once the license is pasted in the Licensing tab of the AppSettings Editor it takes effect without restarting the backend. [url=https://wuic-framework.com/docs/getting-started]Documentation: Framework Overview[/url] |