eBay Developers Program
  • Forums Sign in
  • My Account
    • My Developer Account
    • Solutions Directory
    • Applications Settings
  • Forums
    • Orders, Returns and Feedback
    • Java SDK for Trading API
    • Search
    • Selling
    • Talk to Your Fellow Devs
    • .Net SDK for Trading API
    • Tokens, Notifications, Messages
    • Feedback & Suggestions
  • Documentation
    • Release Notes
    • Finding API
    • Shopping API
    • Trading API
    • Large Merchant Services
    • Marketing Handbook
    • All Features Comparison
    • All API Documentation
  • Support
    • eBay SDKs
    • API Site Status
    • Program & News Blog
    • Compatible Application Check
    • Support Ticket
    • Knowledge Base
    • Developer Help Center
    • Search Details
  • Home
  • eBay Forums
  • eBay APIs: Java SDK for Trading API /
avatar image

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>&lt;ShippingType&gt;=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

People who like this

0
Comment
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image

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

Comment

People who like this

0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

27 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Support

Developer Help Center
eBay Developers Program Blog
API Site Status
Request Support
Knowledge Base
Developer Forums
eBay Software Development Kits

API Information

API License Agreement
API Documentation
API Call Limits
Marketing Handbook
API Features Comparison

Apps Center

Applications Directory
Solutions Directory

Social Media

     

Programs

About Us
Success Stories
Affiliate Developers
eBay Market Data Program
Developer Directory
Developer Jobs
Copyright 1999 - 2019 eBay Inc. All rights reserved. User Agreement | Privacy Policy.    Site Feedback
  • Anonymous
  • Login with eBay
  • Create
  • Ask a question
  • Forums
  • Buy APIs (BETA) - Browse
  • Buy APIs (BETA) - Order
  • Feedback, Comments, Suggestions
  • New Sell APIs - Account, Inventory, Catalog and Compliance
  • New Sell APIs - Fulfillment
  • New Sell APIs - Marketing, Analytics, Metadata
  • Post Order APIs - Cancellation
  • Post Order APIs - Inquiry, Case Management
  • Post Order APIs - Return
  • Talk to your fellow developers
  • Token, Messaging, Sandbox related issues
  • eBay APIs: .NET SDK for Trading API
  • eBay APIs: Java SDK for Trading API
  • eBay APIs: Orders, resolutions and feedback
  • eBay APIs: Search
  • eBay APIs: Selling
  • Explore
  • Tags
  • Questions
  • Users
  • Badges