Closed Crease29 closed 3 years ago
Any news on this? Is this repository maintained?
I can see in the xml provided that there is an error :
The alias "i" is declared in the headerMessage of the soap call but it is also used in the orderClaimFilter. This alias must be declared at a higher level to be used out of the headerMessage.
at the moment this issue seems to have been solved on the last version of the SDK.
regards,
Thank you, I've updated to the latest version and the error doesn't occur anymore. Now I'm getting a read timeout:
[Zend\Http\Client\Adapter\Exception\TimeoutException (1000)]
Read timed out
Exception trace:
() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/vendor/zendframework/zend-http/src/Client/Adapter/Curl.php:457
Zend\Http\Client\Adapter\Curl->write() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/vendor/zendframework/zend-http/src/Client.php:1439
Zend\Http\Client->doRequest() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/vendor/zendframework/zend-http/src/Client.php:930
Zend\Http\Client->send() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/sdk/src/core/HttpTools/CDSApiRequest.php:91
Sdk\HttpTools\CDSApiRequest->execute() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/sdk/src/core/Auth/Token.php:87
Sdk\Auth\Token->_generateNewToken() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/sdk/src/core/Auth/Token.php:115
Sdk\Auth\Token->getToken() at /var/www/cdiscount-api/src/Cilex/Provider/cDiscount/vendor/cdiscount-api/sdk/src/public/ApiClient/CDSApiClient.php:161
Sdk\ApiClient\CDSApiClient->init() at /var/www/cdiscount-api/src/Cilex/Command/CDiscountFetchOrderClaimListCommand.php:75
Cilex\Command\CDiscountFetchOrderClaimListCommand->execute() at /var/www/cdiscount-api/vendor/symfony/console/Command/Command.php:262
Symfony\Component\Console\Command\Command->run() at /var/www/cdiscount-api/vendor/symfony/console/Application.php:906
Symfony\Component\Console\Application->doRunCommand() at /var/www/cdiscount-api/vendor/symfony/console/Application.php:224
Symfony\Component\Console\Application->doRun() at /var/www/cdiscount-api/vendor/symfony/console/Application.php:125
Symfony\Component\Console\Application->run() at /var/www/cdiscount-api/src/Cilex/Application.php:130
Cilex\Application->run() at /var/www/cdiscount-api/bin/run.php:21
@gregz1 ?
Any news on this?
Are you dealing with preprod or prod environment ? I had same problem with preprod because of closing days, with prod I never catch a timeout error.
You can get a timeout if you try to get to many discussions at the same time. By default the date filter is set on last 30 days Try to apply a more restrictive filter it can solve your problem. I confirm preproduction is not available 1 or 2 days by week.
Hello, I have a problem receiving the orderClaimList:
PHP:
XML-Response:
Did I miss something here?