Home
Find the answer to your question
262050 is the MPN number for Olypus Evolt camera. Searching the number on ebay US SYI page, it finds the product as expected, however; specifying the MPN value in GetProductSearch request, the API returns 'Search found no match for search request' as below:
<?xml version="1.0" encoding="utf-8"?>
<GetProductSearchResultsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>....</eBayAuthToken>
</RequesterCredentials>
<ErrorLanguage>en_US</ErrorLanguage>
<ProductSearch>
<AttributeSetID>1787</AttributeSetID>
<MaxChildrenPerFamily>3</MaxChildrenPerFamily>
<Pagination>
<EntriesPerPage>20</EntriesPerPage>
<PageNumber>1</PageNumber>
</Pagination>
<SearchAttributes>
<AttributeID>26089</AttributeID>
<ValueList>
<ValueLiteral>262050</ValueLiteral>
</ValueList>
</SearchAttributes>
</ProductSearch>
</GetProductSearchResultsRequest>
<?xml version="1.0" encoding="utf-8"?>
<GetProductSearchResultsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2008-08-15T06:37:45.993Z</Timestamp>
<Ack>Warning</Ack>
<Errors>
<ShortMessage>No match found for search request <0>.</ShortMessage>
<LongMessage>Search found no match for search request <0>.</LongMessage>
<ErrorCode>12006</ErrorCode>
<SeverityCode>Warning</SeverityCode>
<ErrorParameters ParamID="0">
<Value>0</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>577</Version>
<Build>e577_core_Bundled_7035002_R1</Build>
<DataElementSets attributeSetID="1787" />
<ProductSearchResult>
<ID>0</ID>
<DisplayStockPhotos>true</DisplayStockPhotos>
</ProductSearchResult>
</GetProductSearchResultsResponse>
What is the problem?
Summary
The reason the GeProductSearchResults request is not returning the expected products is you ask a page of data (Pagination.PageNumber 1) that does not exist.
As documented, for most API calls, the default PageNumber is set to1, but for some of the APIs like GetProductSearchResults, the default is 0((<PageNumber>0</PageNumber>). Aa a result, when make GetProducSearchResults API call, you should start with PageNumber 0 or do not specify the Pagination container in the first GetProductionSearchReults request. Increment the PageNumber by 1 and repeat the call.
if <HasMore>true</HasMore> is returned in the response.
For this particular product search, there is only one virtual page of data that matches the search query as below. Hence asking for the second page of (<PageNumber>1</PageNumber> ) data returns nothing.
<?xml version="1.0" encoding="utf-8"?>
<GetProductSearchResultsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>xxxx
</RequesterCredentials>
<ProductSearch>
<AttributeSetID>1787</AttributeSetID>
<MaxChildrenPerFamily>3</MaxChildrenPerFamily>
<Pagination>
<EntriesPerPage>20</EntriesPerPage>
<PageNumber>0</PageNumber>
</Pagination>
<SearchAttributes>
<AttributeID>26089</AttributeID>
<ValueList>
<ValueLiteral>262050</ValueLiteral>
</ValueList>
</SearchAttributes>
</ProductSearch>
</GetProductSearchResultsRequest>
<?xml version="1.0" encoding="utf-8"?>
<GetProductSearchResultsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2008-08-15T06:22:25.666Z</Timestamp>
<Ack>Success</Ack>
<Version>577</Version>
<Build>e577_core_Bundled_7035002_R1</Build>
<DataElementSets attributeSetID="1787" />
<ProductSearchResult>
<ID>0</ID>
<NumProducts>1</NumProducts>
<AttributeSet>
<ApproximatePages>1</ApproximatePages>
<AttributeSetID>1787</AttributeSetID>
<HasMore>false</HasMore>
<ProductFamilies hasMoreChildren="false">
<ParentProduct productID="100539:2:1134:409376928:144889728:f9d9b8c31e418cd8c1c0bcc49897a068:1:1:1:1257438302" title="Olympus EVOLT E-300 8 Megapixel" stockPhotoURL="http://i14.ebayimg.com/03/c/03/02/87/11_6.JPG">
<CharacteristicsSet>
<AttributeSetID>1787</AttributeSetID>
<Characteristics>
<AttributeID>25564</AttributeID>
<DisplaySequence>3</DisplaySequence>
<Label visible="true">
<Name>Optical Zoom</Name>
</Label>
<ValueList>
<ValueLiteral>32x</ValueLiteral>
<ValueID>-6</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>26092</AttributeID>
<DisplaySequence>1</DisplaySequence>
<Label visible="false">
<Name>Product Line</Name>
</Label>
<ValueList>
<ValueLiteral>Olympus EVOLT</ValueLiteral>
<ValueID>-6</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>41</AttributeID>
<DisplaySequence>2</DisplaySequence>
<Label visible="false">
<Name>Model</Name>
</Label>
<ValueList>
<ValueLiteral>E-300</ValueLiteral>
<ValueID>-3</ValueID>
</ValueList>
</Characteristics>
</CharacteristicsSet>
<DetailsURL>http://syicatalogs.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=100539:2:1134:409376928:144889728:f9d9b8c31e418cd8c1c0bcc49897a068:1:1:1:1257438302</DetailsURL>
</ParentProduct>
<FamilyMembers productID="100539:2:1134:409376928:144889728:f9d9b8c31e418cd8c1c0bcc49897a068:1:1:1:1257438302" title="Olympus EVOLT E-300 8 Megapixel" stockPhotoURL="http://i14.ebayimg.com/03/c/03/02/87/11_6.JPG">
<CharacteristicsSet>
<AttributeSetID>1787</AttributeSetID>
<Characteristics>
<AttributeID>25565</AttributeID>
<DisplaySequence>3</DisplaySequence>
<Label visible="false">
<Name>Resolution (Megapixels)</Name>
</Label>
<ValueList>
<ValueLiteral>8.0</ValueLiteral>
<ValueID>-3</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>25564</AttributeID>
<DisplaySequence>4</DisplaySequence>
<Label visible="true">
<Name>Optical Zoom</Name>
</Label>
<ValueList>
<ValueLiteral>32x</ValueLiteral>
<ValueID>-6</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>26092</AttributeID>
<DisplaySequence>1</DisplaySequence>
<Label visible="false">
<Name>Product Line</Name>
</Label>
<ValueList>
<ValueLiteral>Olympus EVOLT</ValueLiteral>
<ValueID>-6</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>26089</AttributeID>
<DisplaySequence>5</DisplaySequence>
<Label visible="true">
<Name>MPN</Name>
</Label>
<ValueList>
<ValueLiteral>262050, 262051, 262052, CNETOLYMPUSEVOLDE300, EVOLT E-300</ValueLiteral>
<ValueID>-3</ValueID>
</ValueList>
</Characteristics>
<Characteristics>
<AttributeID>41</AttributeID>
<DisplaySequence>2</DisplaySequence>
<Label visible="false">
<Name>Model</Name>
</Label>
<ValueList>
<ValueLiteral>E-300</ValueLiteral>
<ValueID>-3</ValueID>
</ValueList>
</Characteristics>
</CharacteristicsSet>
<DetailsURL>http://syicatalogs.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=100539:2:1134:409376928:144889728:f9d9b8c31e418cd8c1c0bcc49897a068:1:1:1:1257438302</DetailsURL>
<NumItems>0</NumItems>
<MinPrice>0.0</MinPrice>
<MaxPrice>0.0</MaxPrice>
</FamilyMembers>
</ProductFamilies>
<TooManyMatchesFound>false</TooManyMatchesFound>
<TotalProducts>1</TotalProducts>
</AttributeSet>
<DisplayStockPhotos>true</DisplayStockPhotos>
</ProductSearchResult>
</GetProductSearchResultsResponse>