-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erro ao consultar processos #29
Comments
O erro, aparentemente, é o token inválido. Está sendo enviado um token válido? |
Olá Cadu, sim, esta valido, somente essa consulta em especifico retorna esse erro, ao tentar obter um processo diretamente pelo número funciona. |
Pode ser então que há algum processo na unidade administrativa que você está pesquisando que o usuário não tem acesso. Poderia alterar a unidade administrativa e tentar a pesquisa para ver se o problema persiste. E poderia enviar a mensagem "Exception->__construct('Acesso negado a...', Array)" por completo? Está no início do seu log. Sei que não é uma solução. Ainda é uma tentativa de identificar o problema. Obrigado |
Descreva o erro Ao listar todos os processos de uma unidade, tal lista não foi gerada pelo sistema. Para reproduzir
(Não conseguimos reproduzir o erro) Comportamento esperado Que aparecesse toda a listagem dos processos. Screenshots Contexto da falha (Por favor, complete a seguinte informação):
Informações adicionais Log de Erros |
Olá,
Segue um erro que estou obtendo ao efetuar a consulta por processos, verifiquei que independente dos parametros fornecidos, o erro é o mesmo.
Endpoint:
/processo/listar?limit=100&start=0&filter=&id=&usuario=&tipo=R
Versões:
{ "message": "Slim Application Error", "error": [ { "type": "Error", "code": 0, "message": "Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]])", "file": "\/opt\/v400\/sei\/web\/modulos\/mod-wssei\/rn\/MdWsSeiProcedimentoRN.php", "line": 1443, "trace": [ "#0 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/rn\/MdWsSeiProcedimentoRN.php(1443): Exception->__construct('Acesso negado a...', Array)", "#1 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/rn\/MdWsSeiProcedimentoRN.php(1095): MdWsSeiProcedimentoRN->montaRetornoListagemProcessos(Array, NULL, 'R')", "#2 \/opt\/v400\/infra\/infra_php\/InfraRN.php(140): MdWsSeiProcedimentoRN->listarProcessosConectado(Object(MdWsSeiProtocoloDTO))", "#3 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/versao\/v2\/MdWsSeiServicosV2.php(970): InfraRN->__call('listarProcessos', Array)", "#4 [internal function]: MdWsSeiServicosV2->{closure}(Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Array)", "#5 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/Handlers\/Strategies\/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Array)", "#6 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/Route.php(344): Slim[\\Handlers\\Strategies\\RequestResponse->__invoke(Object(Closure](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHandlers%5C%5C%5C%5CStrategies%5C%5C%5C%5CRequestResponse-%3E__invoke(Object(Closure)), Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Array)", "#7 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/controlador_ws.php(34): Slim[\\Route->__invoke(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3E__invoke(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#8 [internal function]: TokenValidationMiddleware->__invoke(Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Slim[\\Route](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute)))", "#9 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(43): call_user_func_array(Object(TokenValidationMiddleware), Array)", "#10 [internal function]: Slim[\\DeferredCallable->__invoke(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable-%3E__invoke(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Slim[\\Route](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute)))", "#11 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(73): call_user_func(Object(Slim[\\DeferredCallable](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable)), Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Slim[\\Route](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute)))", "#12 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/controlador_ws.php(64): Slim[\\Route->Slim\\{closure}(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3ESlim%5C%5C%5C%5C%7Bclosure%7D(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#13 [internal function]: ModuleVerificationMiddleware->__invoke(Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#14 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(43): call_user_func_array(Object(ModuleVerificationMiddleware), Array)", "#15 [internal function]: Slim[\\DeferredCallable->__invoke(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable-%3E__invoke(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#16 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(73): call_user_func(Object(Slim[\\DeferredCallable](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable)), Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#17 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/controlador_ws.php(82): Slim[\\Route->Slim\\{closure}(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3ESlim%5C%5C%5C%5C%7Bclosure%7D(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#18 [internal function]: EncodingMiddleware->__invoke(Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#19 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(43): call_user_func_array(Object(EncodingMiddleware), Array)", "#20 [internal function]: Slim[\\DeferredCallable->__invoke(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable-%3E__invoke(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#21 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(73): call_user_func(Object(Slim[\\DeferredCallable](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CDeferredCallable)), Object(Slim[\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)), Object(Closure))", "#22 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(122): Slim[\\Route->Slim\\{closure}(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3ESlim%5C%5C%5C%5C%7Bclosure%7D(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#23 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/Route.php(316): Slim[\\Route->callMiddlewareStack(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3EcallMiddlewareStack(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#24 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/App.php(476): Slim[\\Route->run(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CRoute-%3Erun(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#25 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(122): Slim[\\App->__invoke(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CApp-%3E__invoke(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#26 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/App.php(370): Slim[\\App->callMiddlewareStack(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CApp-%3EcallMiddlewareStack(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#27 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/vendor\/slim\/slim\/Slim\/App.php(295): Slim[\\App->process(Object(Slim\\Http\\Request](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CApp-%3Eprocess(Object(Slim%5C%5C%5C%5CHttp%5C%5C%5C%5CRequest)), Object(Slim[\\Http\\Response](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CHttp%5C%5C%5C%5CResponse)))", "#28 \/opt\/v400\/sei\/web\/modulos\/mod-wssei\/controlador_ws.php(97): Slim[\\App->run()](https://github.com/spbgovbr/mod-wssei/issues/%5C%5C%5C%5CApp-%3Erun())", "#29 {main}" ] } ] }
The text was updated successfully, but these errors were encountered: