Getting different error response for endpoints


  • Hi,

    I was trying to test error scenarios and am getting different response fields and it is not as per the documentation.

    Login endpoint
    {"status":false,"message":"Login Id or password is invalid","errorcode":"AB1007","data":null}

    Order Endpoint
    {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}

    Please check the "success" & "errorCode" different name in different response

    Which one should we follow?

    Br,
    Bhavesh


  • Hi @bhavesh78patil have you migrated your account..?


  • @admin Yes. My account is migrated and API's are working fine. I was trying to test error scenarios for my application and found out that different error response is coming for different endpoints