Bỏ qua để đến nội dung

Troubleshooting (Admin)

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

This page collects common admin app issues: sign-in, 403 vs visible menu, empty lists when filters or modules do not match data, notifications (API-backed inbox), and placeholder KPIs. It points to auth, roles, and tenancy docs. For browser errors from admin/vendor web, see Client events & UI errors.


GoalsNon-goals
Fast self-serve triage before ticketsReplace backend logs or DB inspection
Clarify UI vs API enforcementGuarantee resolution for misconfigured infrastructure

  • Sidebar does not hide unauthorized areas; APIs return 403 when modules or store/tenant rules disallow the action.
  • Notifications load from the API (Notifications); auth self-serve may be incomplete (Sign-in).

  1. User hits an issue → check sign-in type (Staff vs Super) → network/JWT.
  2. If 403 → verify role modules (Roles).
  3. If empty data → verify filters, store, and modules (Tenancy — stores and outlets).

  • Do not share JWT or reset links in chat; rotate credentials via approved process.

IDScenarioExpected
T1Intentionally wrong passwordClear failure, no partial session
T2User missing module403 on API, doc explains why
T3Zone admin vs masterData scope differs as documented

  • Confirm you chose the correct admin type on the login screen (Staff vs Super), matching how the account was provisioned.
  • Check API base URL and network errors (browser devtools). See Authentication.
  • Registration / forgot password / OTP flows in the admin SPA are not connected to real APIs yet (Sign-in and account); use operational processes to reset access.

The sidebar lists management, product, and inventory entries for all users; authorization is enforced on the backend. If a route loads but APIs return 403, your JWT modules array may omit the feature key (for example catalog item). See Roles.

  • Role / module limits: if lists are empty, confirm the signed-in admin has the right modules keys and that filters (store, vendor, date range) match the data you expect. See Tenancy — stores and outlets.
  • Stores / vendors stat tiles may show while the table still loads; some KPIs are not wired to overview endpoints yet.

The notifications page reads admin_notifications for the signed-in admin (Notifications). It is an in-app inbox, not a substitute for monitoring or on-call alerting.

Use your organization’s internal support or engineering channel for account creation, zone changes, and role updates.