קוד שגיאה

STORE_HEADER_REQUIRED

בחרו חנות

  • סטטוס HTTP403
  • סוגauth
  • חומרהwarning
  • ניסיון חוזרלא

Select a store

The token grants access to more than one store, so the request must name which store it applies to via the X-Sellivo-Store-Id header.

Common causes

  • An HTTP client that does not attach the X-Sellivo-Store-Id header. Every admin-app client must send it — see frontend/src/lib/active-store-header.ts.
  • No active store persisted yet — the user has not picked one.
  • A raw curl/integration call against a multi-store token.

What to do

Send X-Sellivo-Store-Id with a tenant id from the token’s memberships. In the dashboard this is automatic — route the user to the store-switcher.

בחרו חנות

האסימון מעניק גישה ליותר מחנות אחת, ולכן הבקשה חייבת לציין לאיזו חנות היא מתייחסת דרך הכותרת X-Sellivo-Store-Id.

סיבות נפוצות

  • לקוח HTTP שאינו מצרף את הכותרת X-Sellivo-Store-Id. כל לקוח באפליקציית הניהול חייב לשלוח אותה — ראו frontend/src/lib/active-store-header.ts.
  • לא נשמרה חנות פעילה — המשתמש עדיין לא בחר.
  • קריאת curl/אינטגרציה גולמית עם אסימון רב-חנויות.

פעולה מומלצת

שלחו X-Sellivo-Store-Id עם מזהה דייר מתוך ה־memberships של האסימון. בדאשבורד זה אוטומטי — נתבו את המשתמש לבורר החנויות.