Open
Description
Getting a Type Error, when using upsertList and pushing more than one product and iterating the response.
The same was working when I was using client version 9, and facing this when updated to 11.4.0
$response = $this->pimApiClient->getProductUuidApi()->upsertList($products);
foreach ($response as $item) { dump($item); }
--
TypeError: Akeneo\Pim\ApiClient\Stream\UpsertResourceListResponse::current(): Return value must be of type array, null returned at D:\Akeneo\sample-apps\samples\start-app\php-symfony\vendor\akeneo\api-php-client\src\Stream\UpsertResourceListResponse.php:38 at Akeneo\Pim\ApiClient\Stream\UpsertResourceListResponse->current()
Metadata
Metadata
Assignees
Labels
No labels