{"data":{"id":"ACSD-51846","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the \"Internal Error\" issue that happens because not all levels of REST API payload are validated.","categories":["Web API"],"components":["magento/framework","magento/module-elasticsearch"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-36/acsd-51846-internal-error-as-levels-of-rest-api-payload-are-not-validated","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-36/acsd-51846-internal-error-as-levels-of-rest-api-payload-are-not-validated.md","blobSha":"c7751dd4e9f9b78d3d760ba376a5d6bb1063d79d","description":"An \"Internal Error\" occurs as all levels of REST API payload are not validated.","stepsToReproduce":"1. Add a product to the customer's cart. 1. Send the REST API request to rest/V1/carts/mine/estimate-shipping-methods using a wrong attribute \"_street._\" with a dot in the end. { \"address\": { \"street.\": [ \"\\uc11c\\uc6b8 \\uac15\\ubd81\\uad6c \\ud55c\\ucc9c\\ub85c166\\uae38 2 (-\\uc11c\\uc6b8 \\uac15\\ubd81\\uad6c \\uc218\\uc720\\ub3d9 269-36)\" ], \"city\": \"pune\", \"region\": null, \"country_id\": \"IN\", \"postcode\": \"411015\", \"customer_id\": \"2\", \"firstname\": \"test\", \"lastname\": \"test\", \"middlename\": null, \"prefix\": null, \"suffix\": null, \"vat_id\": null, \"company\": null, \"telephone\": \"00000000000\", \"fax\": null, \"custom_attributes\": [] } }","introducedInQpt":"1.1.36","createdFor":["2.4.5-p2"],"documentedRange":"2.4.3-p2 - 2.4.5-p4","scheduledFixRelease":null},"files":[{"package":"magento/magento2-base","constraint":">=2.4.3-p2 <2.4.4-p9 || >=2.4.5 <2.4.5-p8","path":"patches/os/ACSD-51846_2.4.5-p2.patch","blobSha":"60305a5d584daeb0292762f4c9e304ffbf75c682","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-51846_2.4.5-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-elasticsearch/Model/Adapter/BatchDataMapper/ProductDataMapper.php","change":"modified","package":"magento/module-elasticsearch"},{"path":"vendor/magento/framework/Webapi/ServiceInputProcessor.php","change":"modified","package":"magento/framework"}],"packages":["magento/module-elasticsearch","magento/framework"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2"],"magento-commerce":["2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":true}],"applicableVersions":{"magento-community":["2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2"],"magento-commerce":["2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/debug.log","match":"report.CRITICAL: LogicException: Property * does not have accessor method * in class * in */Reflection/NameFinder.php"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-51846 details"}