board logo
WUICTeam
  • WUICTeam
  • 100% (Exalted)
  • Newbie Topic Starter
27 days ago
Update: the documentation no longer suggests an anonymous curl call: after login the reason is shown in the tooltip of the Trial badge in the menu bar. Fixed in WUIC Framework 1.8.2 .
The original answer below describes versions before 1.8.2.

Question
A fresh install shows only 20 records in every list. The docs say to check /api/Meta/LicenseStatus with curl to see why, but my response contains no licenseReason. Is the endpoint broken, and how do I find the reason?

Answer
The endpoint is fine: without a logged-in session it deliberately returns only a small subset of the fields, and licenseReason is not among them. The reason is returned only to a caller with a valid session.

What you get, by caller
  • No session (plain curl): licenseValid, tier, features, bundledHost, bundledHostAppId.
  • Any logged-in user: the same fields plus licenseReason, licenseExpiryUtc, maintenanceExpiryUtc, dataDbms, metaDbms and licensedDatabases.
  • Verified super administrator: also the machine fingerprint and the license holder's email, and the forceRefresh=true parameter is honoured.


So the check has two steps

# 1. No session: tells you whether you are unlicensed
curl -s http://localhost:5000/api/Meta/LicenseStatus
# {"licenseValid":false,"tier":...,"features":[...],"bundledHost":false,...}
licenseValid: false 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 why (for example invalid_signature, license_expired or machine_fingerprint_not_authorized), log in to the application and look at the response of the same request: open the browser DevTools, Network tab, and read the LicenseStatus call the client makes after login.

Common mistake
Don't assume the license is fine because licenseReason is missing: its absence only means you were not authenticated. Read licenseValid 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.

Documentation: Framework Overview