REST Status with Error Resposne

  • klaus_schneider

    289 Beiträge

    Deutschland

    Hello,
    the function closeItem response an error state with status 200 (for example item does not exist), this is inconsistent to other funktions, here is the status 400 if an error is occoured. Please give us a list for the functions or add this in the documentation witch is the status if an error is occoured.
    best wishes
  • @thomas
    Administrator

    348 Beiträge

    Belgien

    Hello,
    the function closeItem response an error state with status 200 (for example item does not exist), this is inconsistent to other funktions, here is the status 400 if an error is occoured. Please give us a list for the functions or add this in the documentation witch is the status if an error is occoured.
    best wishes
    • Erstellt am 05.01.2021 um 11:23
    • #1231676
    Hello klaus_schneider,

    You are right, the status code is not correct if the object does not exist or does not belong to you. The fix should be deployed in the next few days.

    Best wishes,
    --
    Thomas
    Delcampe Team

Werden Sie Mitglied der Sammler-Community!

Anmelden Einloggen