Saltar al contenido principal
Version: 1.x

API02004: User Not Authorized

What This Means

You're logged in, but your user account doesn't have permission to perform the requested action. This is an authorization issue (what you can do) rather than an authentication issue (who you are).

Common Causes

  • User role limitations — Your WordPress role doesn't include POS access
  • POS access disabled — Your account wasn't granted POS permissions
  • Feature restrictions — Certain features are limited to specific roles
  • Store restrictions — You may not have access to this particular store

How to Fix

1. Check User Role

In WordPress Admin → Users:

  1. Find your user account
  2. Verify the role (e.g., Shop Manager, Administrator)
  3. Ensure the role includes WooCommerce capabilities

2. Enable POS Access

In WordPress Admin → WooCommerce → POS → Access:

  1. Find the user or role
  2. Enable POS access permissions
  3. Save changes

3. Request Additional Permissions

Contact your store administrator to:

  • Grant your role POS access
  • Assign you a role with appropriate permissions
  • Enable specific features you need

4. Check Store Assignment

If using multiple stores:

  • Verify you're assigned to the correct store
  • Check store-specific permissions

Required Permissions

Different actions require different capabilities:

  • View products: Read access to products
  • Create orders: Create/edit order capabilities
  • Manage customers: Customer management capabilities
  • Access reports: View reports capabilities