{"data":{"id":"MDVA-40896","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the \"Error: TypeError: Argument 3 passed to Magento\" error in async product bulk API.","categories":["Web API"],"components":["magento/module-re-captcha-webapi-rest"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-15/mdva-40896-error-typeerror-in-async-product","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-15/mdva-40896-error-typeerror-in-async-product.md","blobSha":"95837d8c460333e7f3cf35d6b541686fef2b4904","description":"Error: TypeError: Argument 3 passed to Magento\\Framework\\Webapi\\ServiceInputProcessor::process() must be of the type array, string given error is shown in async product bulk API.","stepsToReproduce":"1. Send a request to rest/all/async/bulk/V1/products/bySKU endpoint using the following payload: [ { \"product\": { \"sku\": \"24-MB01\", \"price\": 36, \"extension_attributes\": { \"stock_item\": { \"qty\": 100, \"is_in_stock\": true } }, \"custom_attributes\": [ { \"attribute_code\": \"new\", \"value\": \"1\" } ] } }, { \"product\": { \"sku\": \"24-MB04\", \"price\": 28, \"extension_attributes\": { \"stock_item\": { \"qty\": 50, \"is_in_stock\": true } }, \"custom_attributes\": [ { \"attribute_code\": \"new\", \"value\": \"0\" } ] } } ]","introducedInQpt":"1.1.15","createdFor":["2.4.3"],"documentedRange":"2.4.3 - 2.4.3-p2","scheduledFixRelease":null},"files":[{"package":"magento/security-package","constraint":">=1.1.2 <1.1.3","path":"patches/os/MDVA-40896_2.4.3.patch","blobSha":"35d43ea25c31c1579c8b8c2c62545db671842783","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-40896_2.4.3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-re-captcha-webapi-rest/Plugin/RestValidationPlugin.php","change":"modified","package":"magento/module-re-captcha-webapi-rest"}],"packages":["magento/module-re-captcha-webapi-rest"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-40896 details"}