Images are not retrieved when UPDATING existing item

  • postiljon

    19 mensajes

    Países Bajos

    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 Vinculo (https) because I use the PUT call. But this was also never a problem, because the item was updated correctly.
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postiljon

    19 mensajes

    Países Bajos

    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.
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postiljon

    19 mensajes

    Países Bajos

    Hi Benjamin,

    Please check Vinculo (http)

    This is the most relevant piece of code: at the bottom of the text file is the actual Array with the image urls.
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postiljon

    19 mensajes

    Países Bajos

    Any news?
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postiljon

    19 mensajes

    Países Bajos

    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 ( Vinculo (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>
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postiljon

    19 mensajes

    Países Bajos

    Ok no problem.

    However about the image URLs, maybe you can update the Github wiki? It has the image URLs in quotes: Vinculo (https)
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)

Únese a la comunidad de coleccionistas

Inscripción Identificarse