When trying to execute a request using the given example for get_item_feed (which BTW has the feed_type value out of date as well, I used NEWLY_LISTED for this example), the SDK throws this error:
object(DTS\eBaySDK\Feed\Types\GetItemFeedRestResponse)#2566 (5) {
["values":"DTS\eBaySDK\Types\BaseType":private]=>
array(1) {
["errors"]=>
object(DTS\eBaySDK\Types\RepeatableType)#2547 (5) {
["data":"DTS\eBaySDK\Types\RepeatableType":private]=>
array(1) {
[0]=>
object(DTS\eBaySDK\Feed\Types\ErrorDetailV3)#2558 (2) {
["values":"DTS\eBaySDK\Types\BaseType":private]=>
array(4) {
["errorId"]=>
int(13015)
["domain"]=>
string(10) "API_BROWSE"
["category"]=>
string(7) "REQUEST"
["message"]=>
string(109) "The mandatory 'Range' request header is missing. For help, see the API Reference documentation for this call."
}
["attachment":"DTS\eBaySDK\Types\BaseType":private]=>
array(2) {
["data"]=>
NULL
["mimeType"]=>
NULL
}
}
}
["position":"DTS\eBaySDK\Types\RepeatableType":private]=>
int(0)
["class":"DTS\eBaySDK\Types\RepeatableType":private]=>
string(46) "DTS\eBaySDK\Feed\Types\GetItemFeedRestResponse"
["property":"DTS\eBaySDK\Types\RepeatableType":private]=>
string(6) "errors"
["expectedType":"DTS\eBaySDK\Types\RepeatableType":private]=>
string(36) "DTS\eBaySDK\Feed\Types\ErrorDetailV3"
}
}
...
}
I know this API is in beta, but is there a way to work on it using the SDK? Or at least a stable endpoint or a way to update the SDK code in a secure way for upcoming SDK official updates?
When trying to execute a request using the given example for
get_item_feed
(which BTW has thefeed_type
value out of date as well, I usedNEWLY_LISTED
for this example), the SDK throws this error:And noticed that the reason is the requested resource. The SDK uses
item_summary
instead ofitem
.I changed the file
/Feed/Services/FeedService.php
from:To:
But got this:
I know this API is in beta, but is there a way to work on it using the SDK? Or at least a stable endpoint or a way to update the SDK code in a secure way for upcoming SDK official updates?
SDK Version: 14.0