invalid_renew_count

  • crea-livres

    19 berichten

    Frankrijk

    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 berichten

    Frankrijk

    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
    Beheerder

    127 berichten

    België

    Hi,

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

    Fred
  • crea-livres

    19 berichten

    Frankrijk

    Can you explain that ?
  • @kevin
    Beheerder

    102 berichten

    België

    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 berichten

    Frankrijk

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

    102 berichten

    België

    You can use the 99 value
  • crea-livres

    19 berichten

    Frankrijk

    99 is unlimited or 99 times ?
  • crea-livres

    19 berichten

    Frankrijk

    @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
    Beheerder

    127 berichten

    België

    @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
    • Aangemaakt 6 jun 2023 op 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 berichten

    Frankrijk

    thank you
  • Servitel

    448 berichten

    Zwitserland

    @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 berichten

    Zwitserland

    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
    Beheerder

    69 berichten

    België

    @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 ?
    • Aangemaakt 8 jun 2023 op 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 berichten

    Zwitserland

    Hello Servitel,

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

    Have a nice day,
    Regards,
    --
    Dorian
    • Aangemaakt 12 jun 2023 op 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 berichten

    Zwitserland

    @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
    Beheerder

    102 berichten

    België

    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 berichten

    Zwitserland

    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
    • Aangemaakt 4 aug 2023 op 04:55
    • #1585509
    Thanks @Kevin
    but If I try to update an item with value "null" I receive this error message:
    err_item_incorrectRenewOrigin

Word lid van de verzamelaars-community!

Registreren Aanmelden