Images are not retrieved when UPDATING existing item

  • postiljon

    19 Beiträge

    Niederlande

    I have some code which used to work for updating existing items, so items already on Delcampe. I use this for making small textual changes etc.

    From this code I can update everything: title, price, description. But just not the images?! But this used to work.

    I have tested that I send the right array with images, but I can also see in my server logs that the Delcampe server (ssg.delcampe.com) never contacts my server to retrieve the image(s) from the array. Normally when uploading new items, I can see the Delcampe retrieving the images from my server.

    So this results in an updated item without an image, because it deletes the old images, but doesn't retrieve a new image.

    (I have tried several times to update item #576889947 the text was updated right away. But no images.)

    PS the Delcampe Notification is also always: Seller_Item_Add and not Seller_Item_Update as I would expect from Link (https) because I use the PUT call. But this was also never a problem, because the item was updated correctly.
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • postiljon

    19 Beiträge

    Niederlande

    No, I have not encountered this with other items before.

    I use the (same) code for another site (delcampe API account), and as recent as three weeks ago this code still worked for this site/delcampe account.
    When testing the new site, I noticed it didn't work, so I went back to the old code (untouched) and noticed it doesn't work there either anymore.
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • postiljon

    19 Beiträge

    Niederlande

    Hi Benjamin,

    Please check Link (http)

    This is the most relevant piece of code: at the bottom of the text file is the actual Array with the image urls.
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • postiljon

    19 Beiträge

    Niederlande

    Any news?
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • postiljon

    19 Beiträge

    Niederlande

    Hi Benjamin,

    I think I figured it out!

    The images are sent in an array with quotes around each image URL, and as stated, this always worked!
    See also the $postdata example I sent you ( Link (http)

    But via trial/error I have removed the quotes (' ') and now the Delcampe server updates the images correctly, it retrieves them from my server.

    So something must have changed on Delcampe side? Either way I'm happy it seems to work now.

    Last question: when successfully updating an item Delcampe send a Seller_Item_Add notification, shouldn't that be an Seller_Item_Update notification?

    Example (this is the item I just successfully updated):
    20180531 - 11:33:47 | <?xml version="1.0" encoding="UTF-8"?>
    <Delcampe_Notification>
    <Notification_Token></Notification_Token>
    <Notification_Datetime>2018-05-31T09:33:47+00:00</Notification_Datetime>
    <Notification_Type>Seller_Item_Add</Notification_Type>
    <Notification_Data>
    <id_item>581116989</id_item>
    <personal_reference>6753</personal_reference>
    <id_parent></id_parent>
    </Notification_Data>
    </Delcampe_Notification>
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).
  • postiljon

    19 Beiträge

    Niederlande

    Ok no problem.

    However about the image URLs, maybe you can update the Github wiki? It has the image URLs in quotes: Link (https)
  • Konto gelöscht
    Administrator
    Konto gelöscht

    0 Beiträge

    Belgien

    Die Informationen sind nicht mehr verfügbar, da das Konto dieses Benutzers gelöscht wird (DSGVO-Grundverordnung).