I am trying to create a completed items response and in some fields I am getting the response undefined. I know I am missing something very basic but cannot work it out. What am I missing?
eBay Search Results
undefined undefined Apple iPhone 4S - 16GB - Black Smartphone Unlocked undefined undefined Apple iPhone 4S - 16GB - Black - * Unlocked *
I am also getting and error in the XML window when testing in the Quick Start Sample Application
XML Parsing Error: not well-formed
Location: http://developer.ebay.com/quickstartguide/sample/js/SampleJS.aspx?sUrl=h...{ADD YOUR APP ID}%26RESPONSE-DATA-FORMAT%3dXML%26callback%3d_cb_findCompletedItems%26REST-PAYLOAD%26keywords%3diPhone%26categoryId%3d9355%26itemFilter(0).name%3dCondition%26itemFilter(0).value%3d3000%26itemFilter(1).name%3dFreeShippingOnly%26itemFilter(1).value%3dtrue%26itemFilter(2).name%3dSoldItemsOnly%26itemFilter(2).value%3dtrue%26paginationInput.entriesPerPage%3d2%26GLOBAL-ID%3dEBAY-AU
Line Number 1, Column 23:_cb_findCompletedItems({"findCompletedItemsResponse":[{"ack":["Success"],"version":["1.12.0"],"timestamp":["2013-08-03T14:32:21.229Z"],"searchResult":[{"@count":"2","item":[{"itemId":["330974335812"],"title":["Apple iPhone 4S - 16GB - Black Smartphone Unlocked"],"globalId":["EBAY-AU"],"subtitle":["Brand new life proof iphone case inc worth $80"],"primaryCategory":[{"categoryId":["9355"],"categoryName":["Mobile Phones"]}],"galleryURL":["http:\/\/thumbs1.ebaystatic.com\/m\/m6eaUOkK4ftmE1aW55aY5Yg\/140.jpg"],"viewItemURL":["http:\/\/www.ebay.com.au\/itm\/Apple-iPhone-4S-16GB-Black-Smartphone-Unlocked-\/330974335812?pt=AU_Mobile_Phones"],"productId":[{"@type":"ReferenceID","__value__":"110671348"}],"paymentMethod":["PayPal","COD"],"autoPay":["false"],"postalCode":["6035"],"location":["Perth,WA,Australia"],"country":["AU"],"shippingInfo":[{"shippingServiceCost":[{"@currencyId":"AUD","__value__":"0.0"}],"shippingType":["Free"],"shipToLocations":["AU"]}],"sellingStatus":[{"currentPrice":[{"@currencyId":"AUD","__value__":"420.0"}],"convertedCurrentPrice":[{"@currencyId":"AUD","__value__":"420.0"}],"sellingState":["EndedWithSales"]}],"listingInfo":[{"bestOfferEnabled":["false"],"buyItNowAvailable":["false"],"startTime":["2013-07-31T11:48:46.000Z"],"endTime":["2013-08-03T13:27:23.000Z"],"listingType":["FixedPrice"],"gift":["false"]}],"condition":[{"conditionId":["3000"],"conditionDisplayName":["Used"]}],"isMultiVariationListing":["false"],"topRatedListing":["false"]},{"itemId":["200949398896"],"title":["Apple iPhone 4S - 16GB - Black - * Unlocked *"],"globalId":["EBAY-AU"],"primaryCategory":[{"categoryId":["9355"],"categoryName":["Mobile Phones"]}],"galleryURL":["http:\/\/thumbs1.ebaystatic.com\/m\/m6eaUOkK4ftmE1aW55aY5Yg\/140.jpg"],"viewItemURL":["http:\/\/www.ebay.com.au\/itm\/Apple-iPhone-4S-16GB-Black-Unlocked-\/200949398896?pt=AU_Mobile_Phones"],"productId":[{"@type":"ReferenceID","__value__":"110671348"}],"paymentMethod":["PayPal"],"autoPay":["false"],"postalCode":["3000"],"location":["Melbourne,VIC,Australia"],"country":["AU"],"shippingInfo":[{"shippingServiceCost":[{"@currencyId":"AUD","__value__":"0.0"}],"shippingType":["Free"],"shipToLocations":["AU"]}],"sellingStatus":[{"currentPrice":[{"@currencyId":"AUD","__value__":"390.0"}],"convertedCurrentPrice":[{"@currencyId":"AUD","__value__":"390.0"}],"sellingState":["EndedWithSales"]}],"listingInfo":[{"bestOfferEnabled":["false"],"buyItNowAvailable":["false"],"startTime":["2013-08-03T10:22:35.000Z"],"endTime":["2013-08-03T13:17:40.000Z"],"listingType":["FixedPrice"],"gift":["false"]}],"condition":[{"conditionId":["3000"],"conditionDisplayName":["Used"]}],"isMultiVariationListing":["false"],"topRatedListing":["false"]}]}],"paginationOutput":[{"pageNumber":["1"],"entriesPerPage":["2"],"totalPages":["277"],"totalEntries":["553"]}]}]})