* This report was auto-generated by graphql-http
- 60 audits in total
- ✅ 33 pass
- 💡 21 notices (suggestions)
⚠️ 6 warnings (optional)
4655
MUST accept application/json and match the content-type47DE
SHOULD accept */* and use application/json for the content-type80D8
SHOULD assume application/json content-type when accept is missing82A3
MUST use utf-8 encoding when respondingBF61
MUST accept utf-8 encoded request78D5
MUST assume utf-8 in request if encoding is unspecified2C94
MUST accept POST requests5A70
MAY accept application/x-www-form-urlencoded formatted GET requests03D4
MUST accept application/json POST requestsA5BF
MAY use 400 status code when request body is missing on POST34A2
SHOULD allow string {query} parameter when accepting application/graphql-response+json13EE
MUST allow string {query} parameter when accepting application/json8161
SHOULD allow string {operationName} parameter when accepting application/graphql-response+jsonB8B3
MUST allow string {operationName} parameter when accepting application/json94B0
SHOULD allow null {variables} parameter when accepting application/graphql-response+json0220
MUST allow null {variables} parameter when accepting application/json94B1
SHOULD allow null {operationName} parameter when accepting application/graphql-response+json0221
MUST allow null {operationName} parameter when accepting application/json94B2
SHOULD allow null {extensions} parameter when accepting application/graphql-response+json0222
MUST allow null {extensions} parameter when accepting application/json2EA1
SHOULD allow map {variables} parameter when accepting application/graphql-response+json28B9
MUST allow map {variables} parameter when accepting application/jsonD6D5
MAY allow URL-encoded JSON string {variables} parameter in GETs when accepting application/graphql-response+json6A70
MAY allow URL-encoded JSON string {variables} parameter in GETs when accepting application/json428F
SHOULD allow map {extensions} parameter when accepting application/graphql-response+json1B7A
MUST allow map {extensions} parameter when accepting application/jsonB6DC
MAY use 4xx or 5xx status codes on JSON parsing failureBCF8
MAY use 400 status code on JSON parsing failure572B
SHOULD use 200 status code on document parsing failure when accepting application/jsonFDE2
SHOULD use 200 status code on document validation failure when accepting application/json7B9B
SHOULD use a status code of 200 on variable coercion failure when accepting application/jsonD586
SHOULD not contain the data entry on document parsing failure when accepting application/graphql-response+json5E5B
SHOULD not contain the data entry on document validation failure when accepting application/graphql-response+json
9C48
MAY NOT allow executing mutations on GET requestsResponse status is not between 400 and 499
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Schema is not configured for mutations.", "locations": [ { "line": 1, "column": 1 } ], "extensions": { "line": 348, "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php" } } ] } }
9ABE
MAY respond with 4xx status code if content-type is not supplied on POST requestsResponse status is not between 400 and 499
{ "statusText": "Internal Server Error", "status": 500, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "trace": [ { "line": 59, "function": "assert", "file": "/app/vendor/laragraph/utils/src/RequestParser.php" }, { "type": "->", "line": 40, "function": "bodyParams", "file": "/app/vendor/laragraph/utils/src/RequestParser.php", "class": "Laragraph\\Utils\\RequestParser" }, { "type": "->", "line": 29, "function": "parseRequest", "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "class": "Laragraph\\Utils\\RequestParser" }, { "type": "->", "line": 46, "function": "__invoke", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "class": "Nuwave\\Lighthouse\\Http\\GraphQLController" }, { "type": "->", "line": 260, "function": "dispatch", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "class": "Illuminate\\Routing\\ControllerDispatcher" }, { "type": "->", "line": 206, "function": "runController", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "class": "Illuminate\\Routing\\Route" }, { "type": "->", "line": 806, "function": "run", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "class": "Illuminate\\Routing\\Route" }, { "type": "->", "line": 144, "function": "Illuminate\\Routing\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Routing\\Router" }, { "type": "->", "line": 22, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication" }, { "type": "->", "line": 24, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson" }, { "type": "->", "line": 119, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 805, "function": "then", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 784, "function": "runRouteWithinStack", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "class": "Illuminate\\Routing\\Router" }, { "type": "->", "line": 748, "function": "runRoute", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "class": "Illuminate\\Routing\\Router" }, { "type": "->", "line": 737, "function": "dispatchToRoute", "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "class": "Illuminate\\Routing\\Router" }, { "type": "->", "line": 200, "function": "dispatch", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "class": "Illuminate\\Routing\\Router" }, { "type": "->", "line": 144, "function": "Illuminate\\Foundation\\Http\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Foundation\\Http\\Kernel" }, { "type": "->", "line": 21, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 31, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull" }, { "type": "->", "line": 21, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 51, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings" }, { "type": "->", "line": 27, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Http\\Middleware\\ValidatePostSize" }, { "type": "->", "line": 110, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance" }, { "type": "->", "line": 49, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Http\\Middleware\\HandleCors" }, { "type": "->", "line": 57, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Http\\Middleware\\TrustProxies" }, { "type": "->", "line": 119, "function": "Illuminate\\Pipeline\\{closure}", "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 175, "function": "then", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "class": "Illuminate\\Pipeline\\Pipeline" }, { "type": "->", "line": 144, "function": "sendRequestThroughRouter", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "class": "Illuminate\\Foundation\\Http\\Kernel" }, { "type": "->", "line": 1183, "function": "handle", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "class": "Illuminate\\Foundation\\Http\\Kernel" }, { "type": "->", "line": 17, "function": "handleRequest", "file": "/app/public/index.php", "class": "Illuminate\\Foundation\\Application" }, { "line": 16, "function": "require_once", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "message": "Never null, since Symfony defaults to application/x-www-form-urlencoded.", "line": 59, "file": "/app/vendor/laragraph/utils/src/RequestParser.php", "exception": "AssertionError" } }
423L
MAY use 400 status code on missing {query} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request must include at least one of those two parameters: \"query\" or \"queryId\"", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 153, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
LKJ0
MAY use 400 status code on object {query} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"query\" must be string, but got {\"obj\":\"ect\"}", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 157, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
LKJ1
MAY use 400 status code on number {query} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"query\" must be string, but got 0", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 157, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
LKJ2
MAY use 400 status code on boolean {query} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"query\" must be string, but got false", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 157, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
LKJ3
MAY use 400 status code on array {query} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"query\" must be string, but got [\"array\"]", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 157, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
6C00
MAY use 400 status code on object {operationName} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"operation\" must be string, but got {\"obj\":\"ect\"}", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 171, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
6C01
MAY use 400 status code on number {operationName} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"operation\" must be string, but got 0", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 171, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
6C02
MAY use 400 status code on boolean {operationName} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"operation\" must be string, but got false", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 171, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
6C03
MAY use 400 status code on array {operationName} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"operation\" must be string, but got [\"array\"]", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 171, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
4760
MAY use 400 status code on string {variables} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"variables\" must be object or JSON string parsed to object, but got \"string\"", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 178, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
4761
MAY use 400 status code on number {variables} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"variables\" must be object or JSON string parsed to object, but got 0", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 178, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
4762
MAY use 400 status code on boolean {variables} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"variables\" must be object or JSON string parsed to object, but got false", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 178, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
4763
MAY use 400 status code on array {variables} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request parameter \"variables\" must be object or JSON string parsed to object, but got [\"array\"]", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 178, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
58B0
MAY use 400 status code on string {extensions} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "data": { "__typename": "Query" } } }
58B1
MAY use 400 status code on number {extensions} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "data": { "__typename": "Query" } } }
58B2
MAY use 400 status code on boolean {extensions} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "data": { "__typename": "Query" } } }
58B3
MAY use 400 status code on array {extensions} parameterResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "data": { "__typename": "Query" } } }
8764
MAY use 4xx or 5xx status codes if parameters are invalidResponse status is not between 400 and 599
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request must include at least one of those two parameters: \"query\" or \"queryId\"", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 153, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
3E3A
MAY use 400 status code if parameters are invalidResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "GraphQL Request must include at least one of those two parameters: \"query\" or \"queryId\"", "extensions": { "trace": [ { "line": 193, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "GraphQL\\Server\\Helper::validateOperationParams(instance of GraphQL\\Server\\OperationParams)" }, { "line": 173, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperation(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 107, "file": "/app/vendor/nuwave/lighthouse/src/Support/Utils.php", "call": "Nuwave\\Lighthouse\\GraphQL::Nuwave\\Lighthouse\\{closure}(instance of GraphQL\\Server\\OperationParams)" }, { "line": 169, "file": "/app/vendor/nuwave/lighthouse/src/GraphQL.php", "call": "Nuwave\\Lighthouse\\Support\\Utils::mapEach(instance of Closure, instance of GraphQL\\Server\\OperationParams)" }, { "line": 32, "file": "/app/vendor/nuwave/lighthouse/src/Http/GraphQLController.php", "call": "Nuwave\\Lighthouse\\GraphQL::executeOperationOrOperations(instance of GraphQL\\Server\\OperationParams, instance of Nuwave\\Lighthouse\\Execution\\HttpGraphQLContext)" }, { "line": 46, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "call": "Nuwave\\Lighthouse\\Http\\GraphQLController::__invoke(instance of Illuminate\\Http\\Request, instance of Nuwave\\Lighthouse\\GraphQL, instance of Illuminate\\Events\\Dispatcher, instance of Laragraph\\Utils\\RequestParser, instance of Nuwave\\Lighthouse\\Execution\\SingleResponse, instance of Nuwave\\Lighthouse\\Execution\\ContextFactory)" }, { "line": 260, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Nuwave\\Lighthouse\\Http\\GraphQLController, '__invoke')" }, { "line": 206, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "call": "Illuminate\\Routing\\Route::runController()" }, { "line": 806, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Route::run()" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 22, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AttemptAuthentication.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AttemptAuthentication::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 24, "file": "/app/vendor/nuwave/lighthouse/src/Http/Middleware/AcceptJson.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Nuwave\\Lighthouse\\Http\\Middleware\\AcceptJson::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 805, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 784, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)" }, { "line": 748, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)" }, { "line": 737, "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)" }, { "line": 200, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 31, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 21, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 51, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 27, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 110, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 49, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 57, "file": "/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 183, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Http\\Middleware\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)" }, { "line": 119, "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)" }, { "line": 175, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)" }, { "line": 144, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)" }, { "line": 1183, "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", "call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)" }, { "line": 17, "file": "/app/public/index.php", "call": "Illuminate\\Foundation\\Application::handleRequest(instance of Illuminate\\Http\\Request)" }, { "line": 16, "function": "require_once('/app/public/index.php')", "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php" } ], "line": 153, "file": "/app/vendor/webonyx/graphql-php/src/Server/Helper.php" } } ] } }
22EB
SHOULD accept application/graphql-response+json and match the content-typeResponse header content-type does not contain application/graphql-response+json
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "data": { "__typename": "Query" } } }
865D
SHOULD use 4xx or 5xx status codes on document parsing failure when accepting application/graphql-response+jsonResponse status is not between 400 and 599
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Syntax Error: Expected Name, found ", "locations": [ { "line": 1, "column": 2 } ], "extensions": { "line": 382, "file": "/app/vendor/webonyx/graphql-php/src/Language/Parser.php" } } ] } }
556A
SHOULD use 400 status code on document parsing failure when accepting application/graphql-response+jsonResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Syntax Error: Expected Name, found ", "locations": [ { "line": 1, "column": 2 } ], "extensions": { "line": 382, "file": "/app/vendor/webonyx/graphql-php/src/Language/Parser.php" } } ] } }
51FE
SHOULD use 4xx or 5xx status codes on document validation failure when accepting application/graphql-response+jsonResponse status is not between 400 and 599
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Syntax Error: Expected Name, found Int \"8\"", "locations": [ { "line": 1, "column": 3 } ], "extensions": { "line": 382, "file": "/app/vendor/webonyx/graphql-php/src/Language/Parser.php" } } ] } }
74FF
SHOULD use 400 status code on document validation failure when accepting application/graphql-response+jsonResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Syntax Error: Expected Name, found Int \"8\"", "locations": [ { "line": 1, "column": 3 } ], "extensions": { "line": 382, "file": "/app/vendor/webonyx/graphql-php/src/Language/Parser.php" } } ] } }
86EE
SHOULD use a status code of 400 on variable coercion failure when accepting application/graphql-response+jsonResponse status code is not 400
{ "statusText": "OK", "status": 200, "headers": { "x-powered-by": "PHP/8.2.19", "host": "localhost:4000", "date": "", "content-type": "application/json", "connection": "close", "cache-control": "no-cache, private" }, "body": { "errors": [ { "message": "Variable \"$id\" is never used in operation \"CoerceFailure\".", "locations": [ { "line": 1, "column": 21 } ], "extensions": { "line": 41, "file": "/app/vendor/webonyx/graphql-php/src/Validator/Rules/NoUnusedVariables.php" } } ] } }