{"data":{"id":"ACSD-68925","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes an issue where responses for GraphQL requests are now aligned with the GraphQL over HTTP specs. A 4XX response code is returned when the request cannot be parsed, is unauthorized, or encounters a general problem. If the request is parsed and can be processed, a 200 response code is returned.","categories":["GraphQL"],"components":["magento/framework","magento/module-graph-ql","magento/theme-frontend-blank","magento/theme-frontend-luma"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-75/acsd-68925","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-75/acsd-68925.md","blobSha":"f51c98c0a1de9041238c266f844d5aba33e7d625","description":"Previously, invalid GraphQL requests generated internal server errors, instead of the correct 4XX responses defined by the GraphQL over HTTP specification.","stepsToReproduce":"Send GraphQL request with an unknown/incorrect filter name. { cmsBlocks(identifiers: [\"home\"]) { items { title } } }","introducedInQpt":"1.1.75","createdFor":["2.4.8-p3"],"documentedRange":"2.4.8 - 2.4.8-p3","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.8 <2.4.8-p5","path":"patches/os/ACSD-68925_2.4.8-p3.patch","blobSha":"2c768a813e03e80cf9cc141f19aad1b7054f9ff5","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-68925_2.4.8-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-graph-ql/Controller/GraphQl.php","change":"modified","package":"magento/module-graph-ql"},{"path":"vendor/magento/module-graph-ql/Controller/HttpRequestValidator/ContentTypeValidator.php","change":"modified","package":"magento/module-graph-ql"},{"path":"vendor/magento/module-graph-ql/Controller/HttpRequestValidator/HttpVerbValidator.php","change":"modified","package":"magento/module-graph-ql"},{"path":"vendor/magento/theme-frontend-blank/i18n/en_US.csv","change":"modified","package":"magento/theme-frontend-blank"},{"path":"vendor/magento/theme-frontend-luma/i18n/en_US.csv","change":"modified","package":"magento/theme-frontend-luma"},{"path":"vendor/magento/framework/GraphQl/Exception/InvalidRequestInterface.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/GraphQl/Exception/MethodNotAllowedException.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/GraphQl/Exception/UnsupportedMediaTypeException.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/GraphQl/Schema/SchemaGenerator.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/GraphQl/Schema/Type/TypeRegistry.php","change":"modified","package":"magento/framework"}],"packages":["magento/module-graph-ql","magento/theme-frontend-blank","magento/theme-frontend-luma","magento/framework"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":"ACP2E-4815","deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"Config element \"FindFilterType\" is not declared in GraphQL schema */Config.php"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-68925 details"}