start log [18-Mar-2026 09:26:28 UTC] [2026-03-18T09:26:28.267360+00:00] OpenEMR.WARNING: An attempt was made to retrieve a document belonging to a different patient {"user-id":"1","requested-patient-id":"1","document-patient-id":"","document-id":"-1"} [] [18-Mar-2026 17:07:12 UTC] [2026-03-18T17:07:12.186212+00:00] OpenEMR.ERROR: RestConfig->verifyAccessToken() OAuthServerException {"message":"The resource owner or authorization server denied the request."} [] [18-Mar-2026 17:07:12 UTC] [2026-03-18T17:07:12.196524+00:00] OpenEMR.ERROR: ExceptionHandlerListener exception The resource owner or authorization server denied the request. {"trace":"#0 /var/www/html/a/openemr/src/RestControllers/Authorization/BearerTokenAuthorizationStrategy.php(149): OpenEMR\\RestControllers\\Authorization\\BearerTokenAuthorizationStrategy->verifyAccessToken(Object(OpenEMR\\Common\\Auth\\OpenIDConnect\\Repositories\\AccessTokenRepository), Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#1 /var/www/html/a/openemr/src/RestControllers/Subscriber/AuthorizationListener.php(242): OpenEMR\\RestControllers\\Authorization\\BearerTokenAuthorizationStrategy->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#2 /var/www/html/a/openemr/src/RestControllers/Subscriber/AuthorizationListener.php(125): OpenEMR\\RestControllers\\Subscriber\\AuthorizationListener->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#3 /var/www/html/a/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\\RestControllers\\Subscriber\\AuthorizationListener->onKernelRequest(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#4 /var/www/html/a/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent))\n#5 /var/www/html/a/openemr/vendor/symfony/http-kernel/HttpKernel.php(157): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#6 /var/www/html/a/openemr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(OpenEMR\\Common\\Http\\HttpRestRequest), 1)\n#7 /var/www/html/a/openemr/src/RestControllers/ApiApplication.php(123): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#8 /var/www/html/a/openemr/apis/dispatch.php(28): OpenEMR\\RestControllers\\ApiApplication->run(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#9 {main}","previous":{"message":"The resource owner or authorization server denied the request.","code":"9","trace":"#0 /var/www/html/a/openemr/vendor/league/oauth2-server/src/AuthorizationValidators/BearerTokenValidator.php(108): League\\OAuth2\\Server\\Exception\\OAuthServerException::accessDenied('The JWT string ...', NULL, Object(Lcobucci\\JWT\\Token\\InvalidTokenStructure))\n#1 /var/www/html/a/openemr/vendor/league/oauth2-server/src/ResourceServer.php(84): League\\OAuth2\\Server\\AuthorizationValidators\\BearerTokenValidator->validateAuthorization(Object(Nyholm\\Psr7\\ServerRequest))\n#2 /var/www/html/a/openemr/src/RestControllers/Authorization/BearerTokenAuthorizationStrategy.php(344): League\\OAuth2\\Server\\ResourceServer->validateAuthenticatedRequest(Object(Nyholm\\Psr7\\ServerRequest))\n#3 /var/www/html/a/openemr/src/RestControllers/Authorization/BearerTokenAuthorizationStrategy.php(149): OpenEMR\\RestControllers\\Authorization\\BearerTokenAuthorizationStrategy->verifyAccessToken(Object(OpenEMR\\Common\\Auth\\OpenIDConnect\\Repositories\\AccessTokenRepository), Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#4 /var/www/html/a/openemr/src/RestControllers/Subscriber/AuthorizationListener.php(242): OpenEMR\\RestControllers\\Authorization\\BearerTokenAuthorizationStrategy->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#5 /var/www/html/a/openemr/src/RestControllers/Subscriber/AuthorizationListener.php(125): OpenEMR\\RestControllers\\Subscriber\\AuthorizationListener->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#6 /var/www/html/a/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\\RestControllers\\Subscriber\\AuthorizationListener->onKernelRequest(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#7 /var/www/html/a/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent))\n#8 /var/www/html/a/openemr/vendor/symfony/http-kernel/HttpKernel.php(157): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#9 /var/www/html/a/openemr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(OpenEMR\\Common\\Http\\HttpRestRequest), 1)\n#10 /var/www/html/a/openemr/src/RestControllers/ApiApplication.php(123): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#11 /var/www/html/a/openemr/apis/dispatch.php(28): OpenEMR\\RestControllers\\ApiApplication->run(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#12 {main}"}} []