Error 401 Unauthorized

GET https://staging.troskovi.com/apiV2/residents/flats/240758/notifications/?limit=8&page=1

Security

Token

There is no security token.

Firewall

apiv2_resident Name
Security enabled
Stateless

Configuration

Key Value
provider (none)
context (none)
entry_point security.authenticator.jwt.apiv2_resident
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#253
  -map: Symfony\Component\Security\Http\AccessMap {#254 …}
  -logger: Monolog\Logger {#244 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#181
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#177 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#175
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#386 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#370 …}
  -map: Symfony\Component\Security\Http\AccessMap {#254 …}
}
0.53 ms (none)

Authenticators

Status Authenticator
skipped
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"

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
"App\Security\Voter\FlatPollVoter"
5
"App\Security\Voter\FlatVoter"
6
"App\Security\Voter\IntegrationBuildingVoter"
7
"App\Security\Voter\IntegrationFlatVoter"
8
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"

Access decision log

# Result Attributes Object
1 GRANTED PUBLIC_ACCESS
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#18 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#12 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#15 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#21 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#20 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#22 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/apiV2/residents/flats/240758/notifications/"
  #requestUri: "/apiV2/residents/flats/240758/notifications/?limit=8&page=1"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1595 …}
  #locale: null
  #defaultLocale: "sr_Latn"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
2 DENIED FLAT_BELONGS_TO_RESIDENT
App\Entity\Flat {#982
  -id: 240758
  -displayFlatId: "28"
  -size: 58.0
  -ownerName: "KEOPS"
  -ownerLastname: "KEOPS"
  -ownerAddress: null
  -ownerContact: null
  -ownerPhoneNumber: null
  -rent: false
  -debit: 2280.0
  -previousBill: 1340.0
  -type: 1
  -subType: 1
  -oldDebit: 0.0
  -comment: null
  -members: 4
  -createdAt: DateTime @1768999468 {#988
    date: 2026-01-21 12:44:28.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1768999468 {#972
    date: 2026-01-21 12:44:28.0 UTC (+00:00)
  }
  -companyName: null
  -matId: null
  -pib: null
  -user: Proxies\__CG__\App\Entity\User {#1053 …}
  -building: Proxies\__CG__\App\Entity\Building {#1206 …}
  -ownerEmail: null
  -emailCanBeUsed: false
  -companyPlace: null
  -occupant: null
  -occupantEmail: null
  -archived: 0
  -archivedAt: ? DateTime
  -bankAccount: null
  -currentFlat: null
  -flatWarnings: Doctrine\ORM\PersistentCollection {#1273 …}
  -createdBy: "N.D."
  -votedOptions: Doctrine\ORM\PersistentCollection {#1269 …}
  -eInvoice: false
  -jbkjs: null
  -contractNumber: null
  -orderNumber: null
  -objectCode: null
  -resident: null
  -printBill: false
  -oldDebitDate: null
}
"App\Security\Voter\FlatPollVoter"
ACCESS ABSTAIN
"App\Security\Voter\FlatVoter"
ACCESS DENIED
"App\Security\Voter\IntegrationBuildingVoter"
ACCESS ABSTAIN
"App\Security\Voter\IntegrationFlatVoter"
ACCESS ABSTAIN
Show voter details