Closed kingsaj closed 7 years ago
Hi,
I'm trying to make a submitCancellationRequest call in sandbox, which is part of the post-order apis
Soon as this line is run:
$response = $service->submitCancellationRequest($request);
It crashes out with the below error:
DTS\eBaySDK\Exceptions\UnknownPropertyException with message 'Unknown property errorName'
I've tried to debug and this is the raw json that is returned, which is what I'm expecting for the orderId I provided..
{ "error": [{ "errorId": 10005, "domain": "CancelSvcErrorDomain", "subdomain": "Buying", "severity": "ERROR", "category": "APPLICATION", "message": "Eligibility Check failed", "parameter": [], "errorName": "eligibilityCheckFailed", "resolution": "Retry", "organization": "Marketplace", "errorGroups": "" }] }
Regards
Looks like another case where the API response is not matching the documentation.
I'll add the missing fields to the Error class.
Hi,
I'm trying to make a submitCancellationRequest call in sandbox, which is part of the post-order apis
Soon as this line is run:
It crashes out with the below error:
I've tried to debug and this is the raw json that is returned, which is what I'm expecting for the orderId I provided..
Regards