-
Notifications
You must be signed in to change notification settings - Fork 100
Finding API examples crash #8
Comments
Have you entered your production and sandbox application keys in the file configuration.php? This error normally comes up if they have been missed. |
I skipped the config file and used production keys directly: $service = new FindingService([
'appId' => '<my_production_key_here>',
'apiVersion' => 907,
'globalId' => GlobalIds::US,
]);
$request = new FindItemsByKeywordsRequest();
$request->keywords = 'Harry Potter';
$response = $service->findItemsByKeywords($request);
print_r($response); |
Strange. There is nothing wrong with your code so I would recommend that you double check the appId key.
|
I've just spotted that you are not specifying the correct apiVersion. You have used the Trading version by mistake. For the Finding service the latest version is '1.13.0'.
Double check both your app id and the version number as it looks like the error can be caused if either are wrong. |
yep! that helped. thanks a lot. it wasn't clear to me and I've used ebay api version number... now it works :) |
The issue has a given me an idea :) I'm wondering if the SDK should automatically use the latest API version as a default value. That way users of the SDK wouldn't have to specify it in the code unless they wanted to override the default. I'll look at adding this in a future release. |
Same Guzzler error Not sure what is different in these 2 examples FindItemsForFavoriteSearch - DOES NOT WORK - GUZZLER ERROR
Simple-keywords-search.php - DOES WORK
|
It may be that the findItemsForFavoriteSearch operation is no longer supported by the Finding API. I'll need to double check because if that is the case then it also needs to be removed from the SDK. |
... don't worry about that if you have deprecated it... I have posted in On Aug 18, 2016 12:19 PM, "David Terence Sadler" notifications@github.com
|
What is authToken? |
Any idea how to get sold count after searching by keyword Thanks |
i have this exception and i try use $service = new Services\FindingService([ |
Hello!
I've tried some examples from Finding API and they all crash with following error:
any idea what could be wrong?
The text was updated successfully, but these errors were encountered: