invalid_renew_count

  • crea-livres

    19 messages

    France

    Sorry I reposted, The data I posted previously remained empty, so i put it the into picture. If you can, delete my previous post. I reposted to make it more clear.

    I recently encountered an error related to the "renew" parameter which is usually 7:
    invalid_renew_count
    when I remove this parameter, it works with the default value "5"
    But i want to put "7".
    When i enter data manually on the website, it works

    Thanks for your help.
  • Klarkashton10

    2 messages

    France

    me too
    if i create an object with value5 ,
    and update it with value 7, it works

    maybe someone will answer what is the problem
  • @fred
    Administrateur

    127 messages

    Belgique

    Hi,

    The valid renew_count are 0, 1, 2, 3, 4, 5, 10 or null

    Fred
  • crea-livres

    19 messages

    France

    Can you explain that ?
  • @kevin
    Administrateur

    102 messages

    Belgique

    Hi crea-livres,

    Don't worry about the marketplace's values.
    The valid values for the api are those of the previous message.

    Best regards,
    --
    Kevin
    The Delcampe team
  • crea-livres

    19 messages

    France

    how to use unlimited renewal using api as in marketplace ?
  • @kevin
    Administrateur

    102 messages

    Belgique

    You can use the 99 value
  • crea-livres

    19 messages

    France

    99 is unlimited or 99 times ?
  • crea-livres

    19 messages

    France

    @fred said "The valid renew_count are 0, 1, 2, 3, 4, 5, 10 or null"
    @kevin said "You can use the 99 value"

    @fred; what difference beetween 0 and null ?
    99 is valid ?


    this is confusing. I want unlimited. That was value 7 before.
    99 times was value 8
  • @fred
    Administrateur

    127 messages

    Belgique

    @fred said "The valid renew_count are 0, 1, 2, 3, 4, 5, 10 or null"
    @kevin said "You can use the 99 value"

    @fred; what difference beetween 0 and null ?
    99 is valid ?


    this is confusing. I want unlimited. That was value 7 before.
    99 times was value 8
    • Posté le 6 juin 2023 à 09:31
    • #1566127
    Hi crea-livres,

    - 0 is "No renew"
    - null is "Until the sale" (I think that's what you want)
    - 99 was an old value for "Until the sale". It's technically still valid but it's used for legacy compatibility only and it may disappear at any moment
    - The values in the select in your screen are valid in the html form only

    Fred
  • crea-livres

    19 messages

    France

    thank you
  • Servitel

    448 messages

    Suisse

    @fred
    because Delcampe never update docs, please explain how works the renew field
    I have some clients and checking values I see lots of number for this field:
    93
    -4
    ...

    what's the negative number ?
  • Servitel

    448 messages

    Suisse

    If I try to update the field renew, the value disappear !
    result for the update request:
    SimpleXMLElement Object
    (
    [Notification_Token] => 3b9c8ea9cbb173219a18ca40b107dcb2
    [Notification_Datetime] => 2023-06-08 05:58:54
    [Notification_Data] => SimpleXMLElement Object
    (
    [Headers] => SimpleXMLElement Object
    (
    [Ressource] => item/1781687143
    [Action] => PUT
    [Status] => 200
    )

    [body] => SimpleXMLElement Object
    (
    [item] => SimpleXMLElement Object
    (
    [status] => Your request was taken into account!
    [personal_reference] => 193900804614
    )

    )

    )

    )

    result when I check value on the item:
    [renew] => ()
  • @dorian
    Administrateur

    69 messages

    Belgique

    @fred
    because Delcampe never update docs, please explain how works the renew field
    I have some clients and checking values I see lots of number for this field:
    93
    -4
    ...

    what's the negative number ?
    • Posté le 8 juin 2023 à 01:16
    • #1566469
    Hello Servitel,

    You should not get negative values, on which sale did you get that?

    Have a nice day,
    Regards,
    --
    Dorian
  • Servitel

    448 messages

    Suisse

    Hello Servitel,

    You should not get negative values, on which sale did you get that?

    Have a nice day,
    Regards,
    --
    Dorian
    • Posté le 12 juin 2023 à 05:49
    • #1567855
    I have updated all renew count for all items of every client.

    Now all renew count are displayed "10"

    I take a look after 28 days
  • Servitel

    448 messages

    Suisse

    @dorian
    what you means for "null" ?

    the renew field is missed

    or

    the renew field contain "NULL"

    At the moment using the value "99" works fine
  • @kevin
    Administrateur

    102 messages

    Belgique

    Hi Servitel,

    The field "renew" is mandatory, so you can use the value "null" for this field.
    The values "99" and "null" have the same behavior but "99" is deprecated.

    Best regards,
    --
    Kevin
    The Delcampe team
  • Servitel

    448 messages

    Suisse

    Hi Servitel,

    The field "renew" is mandatory, so you can use the value "null" for this field.
    The values "99" and "null" have the same behavior but "99" is deprecated.

    Best regards,
    --
    Kevin
    The Delcampe team
    • Posté le 4 août 2023 à 04:55
    • #1585509
    Thanks @Kevin
    but If I try to update an item with value "null" I receive this error message:
    err_item_incorrectRenewOrigin

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter