Error 401 Unauthorized

GET https://staging.troskovi.com/apiV2/residents/flats/211535/problems/?limit=10&page=1&status=0

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 {#238
  -map: Symfony\Component\Security\Http\AccessMap {#239 …}
  -logger: Monolog\Logger {#229 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#163
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#172 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#161
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#369 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#353 …}
  -map: Symfony\Component\Security\Http\AccessMap {#239 …}
}
0.27 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
"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/211535/problems/"
  #requestUri: "/apiV2/residents/flats/211535/problems/?limit=10&page=1&status=0"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1676 …}
  #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 {#1125
  -id: 211535
  -displayFlatId: "13"
  -size: 90.0
  -ownerName: null
  -ownerLastname: null
  -ownerAddress: null
  -ownerContact: null
  -ownerPhoneNumber: null
  -rent: false
  -debit: 7000.0
  -previousBill: 1000.115
  -type: 3
  -subType: 2
  -oldDebit: 0.0
  -comment: null
  -members: 10
  -createdAt: DateTime @1751544418 {#1128
    date: 2025-07-03 12:06:58.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1751544602 {#1134
    date: 2025-07-03 12:10:02.0 UTC (+00:00)
  }
  -companyName: "Hellena"
  -matId: "12345678"
  -pib: "123456789"
  -user: Proxies\__CG__\App\Entity\User {#1188 …}
  -building: Proxies\__CG__\App\Entity\Building {#1268 …}
  -ownerEmail: null
  -emailCanBeUsed: false
  -companyPlace: "Beograd"
  -occupant: null
  -occupantEmail: null
  -archived: 0
  -archivedAt: ? DateTime
  -bankAccount: "123-4567-89"
  -currentFlat: null
  -flatWarnings: Doctrine\ORM\PersistentCollection {#1335 …}
  -createdBy: "A.Đ."
  -votedOptions: Doctrine\ORM\PersistentCollection {#1331 …}
  -eInvoice: false
  -jbkjs: null
  -contractNumber: "123"
  -orderNumber: "456"
  -objectCode: "789"
  -resident: Proxies\__CG__\App\Entity\Resident {#1356 …}
  -printBill: false
  -oldDebitDate: null
}
"App\Security\Voter\FlatPollVoter"
ACCESS ABSTAIN
"App\Security\Voter\FlatVoter"
ACCESS DENIED
Show voter details