Home
Find the answer to your question
Are you running into the following error when attempting to list an item using any of the AddItem family of calls?
<Errors>
<ShortMessage>All locations are dropped.</ShortMessage>
<LongMessage>All locations provided for shipping service "57106" are not allowable for this site.</LongMessage>
<ErrorCode>17521</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>57106</Value>
</ErrorParameters>
<ErrorClassification
Summary
Detailed Description
Error 17521 indicates that the ShipToLocation specified in the ShippingServiceOptions or InternationalShippingServiceOptions container has an invalid value.
To find the appropriate value:
1. Make the following GeteBayDetails request against the SiteID that you are intending to list the item on.
<?xml version="1.0" encoding="utf-8"?>
<GeteBayDetailsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>777</Version>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
<DetailName>ShippingLocationDetails</DetailName>
</GeteBayDetailsRequest>
2. Parse the value from ShippingLocationsDetail.ShippingLocation
3. Use this value in ShipToLocations in AddItem
For More Information: