405 Method Not Allowed

  • postiljon-topicalcovers
    We are placing items in our CRM and pushing them simultaneously to the Delcampe API (as we have done for years now).

    However, this morning: some succeed other don't!

    They fail with this error:

    11:30:14 | <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8" />
    <title>An Error Occurred: Method Not Allowed</title>
    </head>
    <body>
    <h1>Oops! An Error Occurred</h1>
    <h2>The server returned a "405 Method Not Allowed".</h2>

    <div>
    Something is broken. Please let us know what you were doing when this error occurred.
    We will fix it as soon as possible. Sorry for any inconvenience caused.
    </div>
    </body>

    What is wrong?
  • @thomas
    Administrateur

    348 messages

    Belgique

    We are placing items in our CRM and pushing them simultaneously to the Delcampe API (as we have done for years now).

    However, this morning: some succeed other don't!

    They fail with this error:

    11:30:14 | <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8" />
    <title>An Error Occurred: Method Not Allowed</title>
    </head>
    <body>
    <h1>Oops! An Error Occurred</h1>
    <h2>The server returned a "405 Method Not Allowed".</h2>

    <div>
    Something is broken. Please let us know what you were doing when this error occurred.
    We will fix it as soon as possible. Sorry for any inconvenience caused.
    </div>
    </body>

    What is wrong?
    • Posté le 21 janv. 2020 à 05:44
    • #1087903
    Hello topicalcovers,

    In order to be able to help you and investigate your problem in the best possible way, can you send me an example of a failed call?

    Thanks and sorry for this inconvenience.

    Best Regards,
    --
    Thomas
    Delcampe Team
  • postiljon-topicalcovers
    11:30:14 | Array
    (
    [type] => fixedPrice
    [item] => Array
    (
    [id_country] => 3
    [id_category] => 1242
    [fixed_price] => 15.00
    [currency] => EUR
    [title] => Meter cover Netherlands 1963 Rupert Bear - Bruintje Beer - Cartoon - Musselkanaal
    [personal_reference] => 21018
    [qty] => 1
    [date_end] => 2020-02-18 11:02:14
    [duration] => 28
    [description] => Meter cover Netherlands 1963 Rupert Bear - Bruintje Beer - Cartoon - Musselkanaal
    [renew] => 0
    [option_lastminutebidding] =>
    [option_privatebidding] =>
    [option_subtitle] =>
    [subtitle] =>
    [option_boldtitle] =>
    [option_highlight] =>
    [option_coloredborder] =>
    [option_toplisting] =>
    [option_topcategory] =>
    [option_topmain] =>
    [option_keepoptionsonrenewal] =>
    [prefered_end_day] => mon
    [prefered_end_hour] => 15:00
    [images] => Array
    (
    [0] => Lien (https)
    [1] => Lien (https)
    )

    )

    )
  • @thomas
    Administrateur

    348 messages

    Belgique

    I tried on my side and managed to reproduce the problem using http protocol instead of https.
  • postiljon-topicalcovers
    I tried on my side and managed to reproduce the problem using http protocol instead of https.
    • Posté le 21 janv. 2020 à 10:37
    • #1088095
    I just uploaded a bunch of items with https:// (instead of Lien (http) and they all seem to consistently work fine now!

    But it is still strange that with http:// some were failing and other weren't which is inconsistent behaviour??
    I would expect ALL http:// calls to fail and not just some. This started happening from around the 15th of January.

    Oh well, glad I could fix it like this I will change the code to https://.

    Thanks!
  • @lco
    Compte fermé

    94 messages

    Belgique

    Hello,

    the behavior was inconsistent because we had a migration ongoing on the load balancing system, with the load being progressively moved from the old one to the new one. On the new one HTTP is no longer available.

    The migration is complete as from the 20th of January, the behavior should now be consistent.

    Best Regards,
    --
    Laurent
    Delcampe Team
  • postiljon-topicalcovers
    Ok! That makes sense.

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter