Skip to main content
Published: April 03 2007, 2:24:00 PMUpdated: November 28 2020, 3:35:18 PM

Why am I getting the following error when I try to list an Item?


<
Errors>

  <ShortMessage>Enter a full UK PostalCode.</ShortMessage>

  <LongMessage>Enter a full UK PostalCode.</LongMessage>

  <ErrorCode>17806</ErrorCode>

  <SeverityCode>Error</SeverityCode>

  <ErrorClassification>RequestError</ErrorClassification>

</Errors>



Summary

When you list an item on eBay UK, with the PostalCode field, you need to ensure that the postal code is valid.  The format of a UK postal code consists of two parts, the outward code which is 3 or 4 characters, followed by a space, followed by an inward code which is also 3 or 4 characters long.  Here is an example of a valid postal code: SO31 4NG
 


Detailed Description

Here is a sample AddItem request to list an item on eBay UK with a PostalCode:
 

<?xml version="1.0" encoding="utf-8"?>

<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

  <Version>505</Version>

  <ErrorLanguage>en_US</ErrorLanguage>

  <WarningLevel>High</WarningLevel>

  <Item>

    <BuyItNowPrice>10.0</BuyItNowPrice>

    <Country>GB</Country>

    <Currency>GBP</Currency>

    <Description>description.</Description>

    <ListingDuration>Days_7</ListingDuration>

    <PostalCode>SO31 4NG</PostalCode>

    <PaymentMethods>PayPal</PaymentMethods>

    <PayPalEmailAddress>test@test.com</PayPalEmailAddress>

    <PrimaryCategory>

      <CategoryID>1463</CategoryID>

    </PrimaryCategory>

    <Quantity>1</Quantity>

    <StartPrice>1.0</StartPrice>

    <ShippingDetails>

      <ShippingServiceOptions>

        <ShippingService>UK_RoyalMailFirstClassStandard</ShippingService>

        <ShippingServiceCost currencyID="GBP">4.99</ShippingServiceCost>

        <ShippingServicePriority>1</ShippingServicePriority>

      </ShippingServiceOptions>

      <ShippingServiceOptions>

        <ShippingService>UK_RoyalMailFirstClassStandard</ShippingService>

        <ShippingServiceCost currencyID="GBP">3.99</ShippingServiceCost>

        <ShippingServicePriority>2</ShippingServicePriority>

      </ShippingServiceOptions>

      <InternationalShippingServiceOption>

        <ShippingService>UK_RoyalMailAirmailInternational</ShippingService>

        <ShippingServiceCost currencyID="GBP">5.00</ShippingServiceCost>

        <ShippingServiceAdditionalCost currencyID="GBP">0</ShippingServiceAdditionalCost>

        <ShippingServicePriority>1</ShippingServicePriority>

        <ShipToLocation>Worldwide</ShipToLocation>

      </InternationalShippingServiceOption>

      <ShippingType>Flat</ShippingType>

    </ShippingDetails>

    <Title>title</Title>

  </Item>

  <RequesterCredentials>

    <eBayAuthToken>*****</eBayAuthToken>

  </RequesterCredentials>

</AddItemRequest>


 


Version Info

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

API Schema Version 505


Additional Resources

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