|
|
|
|
Finding API: filters no longer working.
Posted:
Nov 2, 2009 11:25 AM
|
|
Starting today, an API call that previously worked is no longer working. It is giving me the following error:
<error> <errorId>15</errorId> <domain>Marketplace</domain> <severity>Error</severity> <category>Request</category> <message>Invalid listing type.</message> <subdomain>Search</subdomain> <parameter>"Auction"</parameter> </error>
The request URL is this:
http://svcs.ebay.com/services/search/FindingService/v1? OPERATION-NAME=findItemsAdvanced& SERVICE-VERSION=1.0.0& SECURITY-APPNAME=XXXXXXXXXXXXXXXX RESPONSE-DATA-FORMAT=XML& REST-PAYLOAD& categoryId=216& paginationInput.entriesPerPage=100& itemFilter(0).name=ListingType& itemFilter(0).value(0)="Auction"& sortOrder=StartTimeNewest& outputSelector=SellerInfo& paginationInput.pageNumber=1& aspectFilter(0).aspectName="Product"& aspectFilter(0).aspectValueName(0)="Set"& aspectFilter(0).aspectValueName(1)="Team Set"& keywords=set
I checked the change log, and there are no reported changes to the FindItemsAdvanced call. In addition, the documentation specifies that "Auction" is a valid listingType to filter with.
If I remove that item filter, I get a successful response, but zero items returned. That doesn't make sense, because the query is basic -- it looks for auctions with the word "set" in their title, in the hockey card category, with aspect Product equal to either "Set" or "Team Set". When I remove the aspect filter and the ItemFilter, I get results back.
This query worked successfully for 20+ days, always returning 100-200 items.
Any thoughts?
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 11:28 AM
|
|
Is this the right place to report such issues? This is a pretty serious problem, I started using the Finding API for just one of my many applications, and now it is not working. Luckily most of my applications aren't cut over yet, but if response to the API being down is over 24 hours, how can anyone rely on this?
Seriously, this API is no longer working if you include certain filters. This isn't a bug of a feature that has never worked -- something here is plain old broken.
How can developers insulate themselves from this situation in the future?
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 12:35 PM
|
|
I totally agree. My app is dependent on this type of query and I haven't yet found a work-around. Please let me know if you find one and I'll do the same. Is no one else having this issue? Anyone from EBay land out there?
Thanks, Will
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 12:51 PM
|
|
Hi hockeydb.com,
Values for itemFilter and aspectFilter should not be enclosed in double quotes. I modified your request as given below and I could see the results as expected:
http://svcs.ebay.com/services/search/FindingService/v1? OPERATION-NAME=findItemsAdvanced& SERVICE-VERSION=1.0.0& SECURITY-APPNAME=APP_ID_HERE& RESPONSE-DATA-FORMAT=XML& REST-PAYLOAD& categoryId=216& paginationInput.entriesPerPage=100& itemFilter(0).name=ListingType& itemFilter(0).value(0)=Auction& sortOrder=StartTimeNewest& outputSelector=SellerInfo& paginationInput.pageNumber=1& aspectFilter(0).aspectName=Product& aspectFilter(0).aspectValueName(0)=Set& aspectFilter(0).aspectValueName(1)=Team Set& keywords=set
Please try this request and let me know what you see.
Best Regards, Prafull Jha eBay Developers Program
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 12:58 PM
|
|
Hi willsulzer,
I found a minor typo in your request. To specify a value for aspect filter, you should use aspectValue and not aspectValueName as highlighted below:
aspectFilter(0).aspectName=Genre& aspectFilter(0).aspectValueName=Reggae%26Ska
Please see below the correct form of specifying the aspectFiler value in a request:
http://svcs.ebay.com/services/search/FindingService/v1? OPERATION-NAME=findItemsAdvanced& SERVICE-VERSION=1.0.0& SECURITY-APPNAME=APP_ID_HERE& RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD& categoryId=306&paginationInput.entriesPerPage=100& paginationInput.pageNumber=1& aspectFilter(0).aspectName=Genre& aspectFilter(0).aspectValue=Reggae%26Ska
I am able to see results as expected with this request. Let me know if this helps.
Best Regards, Prafull Jha eBay Developers Program
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 1:01 PM
|
|
Thanks for your help Praful. I guess these queries should have never worked with quotes? This solved my issue.
Thanks, Will
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 3, 2009 2:10 PM
|
|
Hi hockeydb.com,
Thanks for pointing out the documentation. Let me check why the sample uses quotes in the request and work with the documentation team to edit them.
Best Regards, Prafull Jha eBay Developers Program
|
|
|
|
|
|
Re: Finding API: filters no longer working.
Posted:
Nov 12, 2009 1:17 PM
|
|
Hi everyone,
The documentation will be updated with the correct sample. You can track the status of this using the following System Announcement:
http://dev-forums.ebay.com/thread.jspa?threadID=500014827&tstart=0&mod=1258051894396
Until the documentation is updated, please refer to the sample provided in the Workaround section of the System Announcement.
Hope this helps.
Best Regards, Prafull Jha eBay Developers Program
|
|
|