developers program  

Welcome, Guest Help
Login Login | Register
 

eBay Developer Forums > Technical Questions: eBay Shopping, Finding and Merchandising APIs
RSS | NNTP Reader | FAQ | Usage Policies | Advanced Search | Print

in current forum  
in all Developer Forums

Replies: 9 - Pages: 1     Last Post: Nov 12, 2009 1:17 PM by: prafull.developersupport@ebay.com »



Posts: 17
Member Since: 4/1/08



Finding API: filters no longer working.
Posted: Nov 2, 2009 11:25 AM
  Click to reply to this thread Reply

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?




Posts: 5
Member Since: 9/10/09



Re: Finding API: filters no longer working.
Posted: Nov 2, 2009 6:21 PM
  Click to reply to this thread Reply

Hello,
I am having a similar problem. My query is now always returning 0 results:

http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=<APP-ID>&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&categoryId=306&paginationInput.entriesPerPage=100&paginationInput.pageNumber=1&aspectFilter(0).aspectName=%22Genre%22&aspectFilter(0).aspectValueName=%22Reggae%26Ska%22

Are the aspectFilters now broken? They don't appear to have changed but I'm not getting the data I'm looking for. Please help!

Thanks,
Will




Posts: 17
Member Since: 4/1/08



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 11:28 AM
  Click to reply to this thread Reply

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?




Posts: 5
Member Since: 9/10/09



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 12:35 PM
  Click to reply to this thread Reply

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




Posts: 435
Member Since: 4/27/09



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 12:51 PM
  Click to reply to this thread Reply

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




Posts: 435
Member Since: 4/27/09



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 12:58 PM
  Click to reply to this thread Reply

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




Posts: 5
Member Since: 9/10/09



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 1:01 PM
  Click to reply to this thread Reply

Thanks for your help Praful. I guess these queries should have never worked with quotes? This solved my issue.

Thanks,
Will




Posts: 17
Member Since: 4/1/08



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 1:55 PM
  Click to reply to this thread Reply

Pratful, thanks for the help.

I'd like to point out that this documentation:

http://developer.ebay.com/DevZone/finding/CallRef/findItemsByCategory.html#sampleaspectFilter

Shows quotes being used in the aspect filter:


http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByCategory
&SERVICE-VERSION=1.0.0
&SECURITY-APPNAME=YourAppID
&RESPONSE-DATA-FORMAT=XML
&REST-PAYLOAD
&categoryId=307
&paginationInput.entriesPerPage=3
&paginationInput.pageNumber=11
&aspectFilter(0).aspectName="Genre"
&aspectFilter(0).aspectValueName="Rock"
&aspectFilter(1).aspectName="Condition"
&aspectFilter(1).aspectValueName(0)="Brand New"
&aspectFilter(1).aspectValueName(1)="Like New"


Using quotes also worked prior to last weekend.

Glad to have it working again.




Posts: 435
Member Since: 4/27/09



Re: Finding API: filters no longer working.
Posted: Nov 3, 2009 2:10 PM
  Click to reply to this thread Reply

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




Posts: 435
Member Since: 4/27/09



Re: Finding API: filters no longer working.
Posted: Nov 12, 2009 1:17 PM
  Click to reply to this thread Reply

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



thread.rss_message