Error 422 Unprocessable Content

POST https://helpinghand.nz/admin/products/new/simple

Security

Token

admin@gwt.org.nz Username
Authenticated
f1f2a3 From
Property Value
Roles
[
  "ROLE_ADMINISTRATION_ACCESS"
]
Inherited Roles
[
  "ROLE_REFERRER"
  "ROLE_ALLOWED_TO_SWITCH"
  "ROLE_CASE_WORKER"
]
Token
Symfony\Component\Security\Core\Authentication\Token\RememberMeToken {#5105
  -user: App\Entity\User\AdminUser {#5238 …}
  -roleNames: [
    "ROLE_ADMINISTRATION_ACCESS"
  ]
  -attributes: []
  -secret: null
  -firewallName: "admin"
}

Firewall

admin Name
Security enabled
Stateless

Configuration

Key Value
provider sylius.admin_user_provider.email_or_name_based
context admin
entry_point security.authenticator.form_login.admin
user_checker security.user_checker.chain.admin
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "form_login"
  "remember_me"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#4994
  -map: Symfony\Component\Security\Http\AccessMap {#4993 …}
  -logger: Monolog\Logger {#5042 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#5068
  -sessionKey: "_security_admin"
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#4353 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#5067 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#4272 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#5070 …}
  -logger: Monolog\Logger {#5042 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#5038 …}
}
20.38 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#5073
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#5063 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#5075
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4271 …}
  -provider: ContainerXlRGujo\UsernameOrEmailProviderGhostDbf3fa7 {#5035 …}
  -userChecker: Symfony\Component\Security\Core\User\ChainUserChecker {#5076 …}
  -firewallName: "admin"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4327 …}
  -logger: Monolog\Logger {#5042 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1335 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#1616 …}
  -targetRoute: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#5001
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "sylius_admin_logout"
  ]
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4271 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#5045 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#5038 …}
  -csrfTokenManager: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#5080
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4271 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4327 …}
  -map: Symfony\Component\Security\Http\AccessMap {#4993 …}
}
3.41 ms (none)

Authenticators

Status Authenticator
skipped
"Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"

This authenticator did not support the request.

skipped
"Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"

This authenticator did not support the request.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"Sylius\Bundle\ApiBundle\Security\ShopUserVoter"
5
"Sylius\Bundle\ApiBundle\Security\OrderAdjustmentsVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_ADMINISTRATION_ACCESS
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#24 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#18 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#21 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#27 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#26 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#25 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#28 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "text/html"
    "application/xhtml+xml"
    "image/avif"
    "image/webp"
    "image/apng"
    "application/xml"
    "*/*"
    "application/signed-exchange"
  ]
  #pathInfo: "/admin/products/new/simple"
  #requestUri: "/admin/products/new/simple"
  #baseUrl: ""
  #basePath: ""
  #method: "POST"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#5083 …}
  #locale: "en_NZ"
  #defaultLocale: "en_NZ"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
2 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details