Skip to main content
Published: August 19 2014, 9:26:00 AMUpdated: November 28 2020, 3:15:30 PM

Why am I getting the following error when I make a VerifyAddItem request with the .NET SDK even though I have provided a valid GalleryImage via the picture upload feature of the SDK?


        <ShortMessage>No Gallery Picture Provided.</ShortMessage>

        <LongMessage>You have not supplied an image for the Gallery.</LongMessage>






When you use the SDK for uploading pictures to the eBay Picture Server, it does not actually upload the pictures for VerifyAddItem.  Hence, the PictureDetails container contains no PictureURL tags and if you set the GalleryType to Gallery without any PictureURL, you get this error. 

Detailed Description

To see what happens let take this example C# code used for making a VerifyAddItem call with the .NET SDK and using EPS:

© 2007-2014 eBay Inc., All Rights Reserved
Licensed under CDDL 1.0 -

private void VerifyAddItem(string uuid)


VerifyAddItemCall apicall = new VerifyAddItemCall(GetContext());

ItemType item = new ItemType();

item.Currency = CurrencyCodeType.USD;

item.Country = CountryCodeType.US;

item.PaymentMethods = new BuyerPaymentMethodCodeTypeCollection();


item.PayPalEmailAddress = '';

item.Title = 'Title';

item.Description = 'Description';

item.Quantity = 1;                                   

item.PostalCode = '95125';               

item.ListingDuration = 'Days_7';               

item.PrimaryCategory = new CategoryType();                 

item.PrimaryCategory.CategoryID = '12';              

item.StartPrice = new AmountType();

item.StartPrice.currencyID = CurrencyCodeType.USD;

item.StartPrice.Value = 20;

item.UUID = uuid;

//use EPS to upload picture

addItem.PictureFileList = new StringCollection();



item.PictureDetails = new PictureDetailsType();

item.PictureDetails.GalleryType = GalleryTypeCodeType.Gallery;

FeeTypeCollection fees = apicall.VerifyAddItem(item);




If you look at the log file, this is the SOAP request this is what is actually sent:

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

<soap:Envelope xmlns:soap='' xmlns:xsi='' xmlns:xsd=''>


    <RequesterCredentials xmlns='urn:ebay:apis:eBLBaseComponents'>










    <VerifyAddItemRequest xmlns='urn:ebay:apis:eBLBaseComponents'>














        <StartPrice currencyID='USD'>20</StartPrice>













Since this is a VerifyAddItem call, the pictures are not actually uploaded, there is no PictureURL, but the GalleryType is set to Gallery.  Hence it returns the error 'You have not supplied an image for the Gallery'.


  • Comment out the code to set the GalleryType for the VerifyAddItem call and the request will go through fine. 

  • Instead of using EPS to upload pictures, set dummy URLs as under:
        item.PictureDetails = new PictureDetailsType();
        item.PictureDetails.PictureURL = new StringCollection();
        item.PictureDetails.GalleryType = GalleryTypeCodeType.Gallery;
        item.PictureDetails.PhotoDisplay = PhotoDisplayCodeType.VendorHostedPictureShow;
    And when you actually make an AddItem call, use the EPS to upload pictures.

Version Info

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

API Schema Version 485
.NET SDK Version .NET SDK v485.0 full release

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