question

easy-it-solutions avatar image
0 Likes"
easy-it-solutions asked

Error message: "Mindestens 1 Foto hochladen" - I have to upload at least 1 photo

Hi, ebay API server returns a message that I have to upload at least 1 photo but I did so. Whats wrong in my code? This is what I'am doing: if (artikel.ImagesBytes.Length > 0) { apicall.PictureFileList = new StringCollection(); item.PictureDetails = new PictureDetailsType(); item.PictureDetails.PhotoDisplay = PhotoDisplayCodeType.None; } Image img; this.fileList_tmp.Clear(); string filepath; foreach (byte[] byte_array in artikel.ImagesBytes) { filepath = this.CreateTempPicturePath(); using (var ms = new MemoryStream(byte_array)) { img = Image.FromStream(ms); img.Save(filepath); } this.fileList_tmp.Add(filepath); apicall.PictureFileList.Add(filepath); }//foreach
picturephoto
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

setxmar avatar image
0 Likes"
setxmar answered
I have a similar thread open about this that I haven't gotten a response for. https://forums.developer.ebay.com/questions/13002/verifyadditem-giving-different-result-between-sand.html Are you getting this error when using VerifyAddItemCall only? In my code, I only get the error using VerifyAddItemCall but AddItemCall works fine.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

easy-it-solutions avatar image
0 Likes"
easy-it-solutions answered
The message occurs while using apicall.AddItem(...) But maybe it is only a warning message because there are some more messages: - I have to set a shipping service (but i have) - I should use product details from ebay catalog (how I can do this?) - I have to add some productdetails (how can I do this?) here is what I got (in german): ![alt text][1] [1]: /storage/temp/719-message.jpg

message.jpg (25.8 KiB)
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.