REST Status with Error Resposne

  • klaus_schneider

    289 messages

    Allemagne

    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
    Administrateur

    348 messages

    Belgique

    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
    • Posté le 5 janv. 2021 à 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

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter