Question by dirkparker · Sep 13, 2017 at 06:56 AM · shippingdetailsshippingservicetradingapi
12519: Shipping service is not available
Hi,
I'm trying to push an Item with the AddItemCall, this is the XML tested also the the API verifing tool from eBay:
<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>.....</eBayAuthToken>
</RequesterCredentials>
<ErrorLanguage>it_IT</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<Item>
<Country>IT</Country>
<Currency>EUR</Currency>
<Description>Pulizia dei Vetri Ufficio spray</Description>
<ListingDuration>Days_30</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<Location>Bergamo</Location>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>info@houseadv.eu</PayPalEmailAddress>
<PrimaryCategory>
<CategoryID>11702</CategoryID>
</PrimaryCategory>
<ProductListingDetails>
<EAN>8002369000013</EAN>
</ProductListingDetails>
<Quantity>50</Quantity>
<ShippingDetails>
<ShippingServiceOptions>
<ShippingService>IT_QuickPackage3</ShippingService>
<ShippingServiceCost currencyID="EUR">0.0</ShippingServiceCost>
<ShippingServiceAdditionalCost currencyID="EUR">0.0</ShippingServiceAdditionalCost>
<ShippingServicePriority>2</ShippingServicePriority>
<FreeShipping>false</FreeShipping>
</ShippingServiceOptions>
<ShippingType>Calculated</ShippingType>
</ShippingDetails>
<StartPrice>2.0</StartPrice>
<Title>Chiaro Luce Vetri Spray</Title>
<SKU>8002369000013</SKU>
<PostalCode>24128</PostalCode>
<PictureDetails>
<ExternalPictureURL>http://www.chiaroluce.com/imageEAN/8002369000013.jpg</ExternalPictureURL>
</PictureDetails>
<ItemSpecifics>
<NameValueList>
<Name>Marca</Name>
<Value>Domus_chemial</Value>
</NameValueList>
</ItemSpecifics>
<ConditionID>1000</ConditionID>
</Item>
</AddItemRequest>
this is what I get as error:
<AddItemResponse
xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2017-09-13T13:50:11.156Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Shipping service is not available.</ShortMessage>
<LongMessage>Shipping service Paccocelere 3(10109) is not available.</LongMessage>
<ErrorCode>12519</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Paccocelere 3(10109)</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Errors>
<ShortMessage>Invalid Shipping Type.</ShortMessage>
<LongMessage>Shipping Type is not supported by this site.</LongMessage>
<ErrorCode>2191523</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value><ShippingType>=ACTUAL_RATE=2</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>1031</Version>
<Build>E1031_UNI_API5_18531200_R1</Build>
</AddItemResponse>
But if I ask the available service by calling the GeteBayDetails call, IT_QuickPackage3 is one of the returned as available (ValidForSellingFlow == true).
using the SDK I wrote:
addItemsCall = new AddItemsCall(apiContext);
addItemsCall.setSite(SiteCodeType.ITALY);
where I explicity re-set set site to be sure. But no luck. None of one shipping service returned by the GeteBayDetails works:
GeteBayDetailsCall getEbayDetail = new GeteBayDetailsCall(apiContext);
getEbayDetail.setSite(SiteCodeType.ITALY);
getEbayDetail.setDetailName(new DetailNameCodeType[]{
DetailNameCodeType.SHIPPING_SERVICE_DETAILS,
});
Any help is appreciate. Thanks in advance, Samuel
Answer by sree_developersupport · Oct 24, 2017 at 01:14 PM
Hi @dirkparker,
Thanks for your post.
I looked up GeteBayDetails call and it looks like the ServiceType is ""Flat"" and in your AddItem request, you mentioned the ServiceType is "Calculated".Hence, you are seeing this error.
Can you please change your request accordingly.
<ShippingServiceDetails>
<Description>Paccocelere 3</Description>
<ExpeditedService>true</ExpeditedService>
<ShippingService>IT_QuickPackage3</ShippingService>
<ShippingServiceID>10109</ShippingServiceID>
<ShippingTimeMax>3</ShippingTimeMax>
<ShippingTimeMin>1</ShippingTimeMin>
**<ServiceType>Flat</ServiceType>**
<ValidForSellingFlow>true</ValidForSellingFlow>
<CODService>true</CODService>
<DetailVersion>97</DetailVersion>
<UpdateTime>2017-08-03T19:53:48.000Z</UpdateTime>
<ShippingCategory>STANDARD</ShippingCategory>
</ShippingServiceDetails>
Best Regards,
eBay Developer Support
People who like this
Your answer

Follow this Question
Related Questions
How to increase number of orders pulled in each call 1 Answer
Intermittent Trading API Failure In Production 0 Answers
Problem with "AddFixedPriceItem" call 0 Answers
unable to update ShippingDetails using ReviseItem call 1 Answer
How do I get amount buyer paid for shipping from getSellerTransactions, or other appropriate call. 2 Answers