Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Getting different error response for endpoints

    Test
    2
    3
    11
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arunsingh last edited by

      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

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @arunsingh last edited by

        Hi @bhavesh78patil have you migrated your account..?

        A 1 Reply Last reply Reply Quote 0
        • A
          arunsingh @admin last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post