Developers Program

Error 10019 - AddItem returns legacy tag CheckoutDetailsSpecified in error message

Published: November 20 2006, 10:53:00 AMยทUpdated: August 01 2022, 12:12:50 PM

Products

Question

Question: I am receiving the following response for my AddItem request: <?xml version="1.0" encoding="utf-8"?> <AddItemResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>20061116T23:37:12.931Z</Timestamp> <Ack>Failure</Ack> <Errors> <ShortMessage>You specified inconsistent Shipping parameters.</ShortMessage> <LongMessage>You specified inconsistent Shipping parameters: <ShippingServiceOptions>=null and <CheckoutDetailsSpecified>=true</LongMessage> <ErrorCode>10019</ErrorCode> <SeverityCode>Error</SeverityCode> <ErrorParameters ParamID="0"> <Value><ShippingServiceOptions>=null</Value> </ErrorParameters> <ErrorParameters ParamID="1"> <Value><CheckoutDetailsSpecified>=true</Value> </ErrorParameters> <ErrorClassification>RequestError</ErrorClassification> </Errors> <Version>487</Version> <Build>e487_core_Bundled_3843203_R1</Build> </AddItemResponse> What should I do with the legacy tag CheckoutDetailsSpecified ?

Answer


Summary

Answer: It is a product limitation that AddItem returns the legacy tag CheckoutDetailsSpecified if the ShippingDetails container does not have any ShippingService when it is required. Please ignore this legacy tag and ensure that you have specified atleast one ShippingService in your request.

Detailed Description

Lets take the example of the following AddItem request:

<?xml version="1.0" encoding="utf-8"?>
<
AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<
Version>485</Version>
<
Item>
<
Quantity>1</Quantity>
<
Currency>USD</Currency>
<
StartPrice>1</StartPrice>
<
ListingDuration>Days_7</ListingDuration>
<
Site>US</Site>
<
Country>US</Country>
<
PrimaryCategory>
<
CategoryID>1411</CategoryID>
</
PrimaryCategory>
<
Location>san jose</Location>
<
ShippingDetails>
<
SalesTax>
<
SalesTaxPercent>7</SalesTaxPercent>
<
SalesTaxState>GA</SalesTaxState>
<
ShippingIncludedInTax>false</ShippingIncludedInTax>
</
SalesTax>
<
ShippingType>Flat</ShippingType>
<
ApplyShippingDiscount>True</ApplyShippingDiscount>
</
ShippingDetails>
<
Title>test</Title>
<
Description>test</Description>
</
Item>
<
RequesterCredentials>
<
eBayAuthToken>*****</eBayAuthToken>
</
RequesterCredentials>
</
AddItemRequest>

To specify sales tax, you must list the item with atleast one valid ShippingService, otherwise you will get this inconsistent shipping parameters error. Similarly, if specify Insurance, you need to have atleast one ShippingService.

Version Info

The code example above was based on the versions specified below:

API Schema Version487
How well did this answer your question?