Skip to main content
Published: November 06 2006, 1:12:00 PMUpdated: July 31 2022, 8:33:44 PM

When set Item.Quantity 2 in AddItem, I am getting request error:

The quantity you submitted is invalid. One possible cause can be bad format.


Error 515 is usually returned in AddItem, RelistItem and ReviseItem. The error indicates you have explicitly specified the Item.ListingType to Chinese auction and your Item.Quantity is not valid. The Chinese Auction is a single-quantity online auction format. The only allowed value for the Item.Quantity property is 1 for Chinese auction.

The request that triggers the error 515 :
<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <Description>Chinese auction sample with Buy It Now and PayPal.</Description>
    <Location>San Jose, CA</Location>
    <StartPrice currencyID="USD">1.00</StartPrice>
    <Title>Pink Side of the Moon</Title>

 If you like to list multiple-quantity online auction, you can use the Dutch listing type.

Additional Resources

 Documentation: Listing Types

How well did this answer your question?
Answers others found helpful