eBay Error Invalid ShipToLocation



I have trying to UK site listing a new products but some errors is occurs. I will fetch data from my database and send to ebay.


Here Request XML:



<AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>Ebay TOken</eBayAuthToken>
</RequesterCredentials>
<DetailLevel>ReturnAll</DetailLevel>
<ErrorLanguage>en_US</ErrorLanguage>
<Version>551</Version>
<WarningLevel>High</WarningLevel>
<Item>
<Site>UK</Site><PrimaryCategory><CategoryID>164306</CategoryID></PrimaryCategory><StartPrice currencyID="GBP">120.99</StartPrice><BuyItNowPrice>0</BuyItNowPrice>
<BestOfferDetails>
<BestOfferEnabled>false</BestOfferEnabled>
</BestOfferDetails>
<Country>GB</Country>
<Currency>GBP</Currency>
<DispatchTimeMax>10</DispatchTimeMax>
<ListingDuration>Days_3</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>abc@gmail.com</PayPalEmailAddress>
<PictureDetails><PhotoDisplay>PicturePack</PhotoDisplay><PictureURL>http://ift.tt/1uLXG1J;
<Location><![CDATA[SURAT, GUJARAT]]></Location><Quantity>1</Quantity>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_14</ReturnsWithinOption>
<Description>If you are not satisfied, return the item for refund.</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<ShippingDetails>
<ShippingServiceOptions>
<ShippingService>UK_StandardShippingFromOutside</ShippingService>
<ShippingServiceCost currencyID="GBP">0.0</ShippingServiceCost>
<ShippingServicePriority>1</ShippingServicePriority>
<ExpeditedService>false</ExpeditedService>
<ShippingTimeMin>5</ShippingTimeMin>
<ShippingTimeMax>10</ShippingTimeMax>
<FreeShipping>true</FreeShipping>
</ShippingServiceOptions>

<InternationalShippingServiceOption>
<ShippingService>UK_SellersStandardInternationalRate</ShippingService>
<ShippingServiceCost currencyID="GBP">0.0</ShippingServiceCost>
<ShippingServicePriority>1</ShippingServicePriority>
<ShipToLocation>Americas</ShipToLocation>
<ShipToLocation>CA</ShipToLocation>
<ShipToLocation>GB</ShipToLocation>
<ShipToLocation>AU</ShipToLocation>
<ShipToLocation>Europe</ShipToLocation>
<ShipToLocation>Asia</ShipToLocation>
<ShipToLocation>CN</ShipToLocation>
<ShipToLocation>MX</ShipToLocation>
<ShipToLocation>DE</ShipToLocation>
<ShipToLocation>JP</ShipToLocation>
<ShipToLocation>BR</ShipToLocation>
<ShipToLocation>FR</ShipToLocation>
<ShipToLocation>RU</ShipToLocation>
</InternationalShippingServiceOption>
<ShippingType>Flat</ShippingType><SellerExcludeShipToLocationsPreference>true</SellerExcludeShipToLocationsPreference>
</ShippingDetails>
<ShipToLocations>Worldwide</ShipToLocations><RegionID>0</RegionID><ShippingTermsInDescription>True</ShippingTermsInDescription>
<ConditionID>1000</ConditionID>
</Item>
</AddFixedPriceItemRequest>


I get following error response for above request.



<?xml version="1.0" encoding="UTF-8"?>
<AddFixedPriceItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2014-11-08T12:54:21.441Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Invalid ShipToLocation.</ShortMessage>
<LongMessage>Some of the ShipTo locations provided are not valid for this site. They have been dropped from your listing.</LongMessage>
<ErrorCode>17520</ErrorCode>
<SeverityCode>Warning</SeverityCode>
<ErrorParameters ParamID="0">
<Value>&lt;InternationalShippingServiceOptions&gt;</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>891</Version>
<Build>E891_UNI_API5_17051033_R1</Build>
</AddFixedPriceItemResponse>


Now i dont know what to change.


No comments:

Post a Comment