Navigation

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

    Invalid API Key - "errorCode":"AG8004"

    Bugs
    2
    3
    9
    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.
    • P
      PareshBhatiya last edited by

      While placing an order getting below rejection

      {"success":false,"message":"Invalid API Key","errorCode":"AG8004","data":""}

      API Key: UQubsQkD

      Same API is working fine with orderbook but while placing an order it is not working.

      API Request:
      {"variety":"NORMAL","tradingsymbol":"RELIANCE-EQ","symboltoken":"2885","transactiontype":"BUY","exchange":"NSE","ordertype":"MARKET","producttype":"CARRYFORWARD","duration":"DAY","price":0.0,"squareoff":0.0,"stoploss":0.0,"quantity":1}

      @admin please help me for this issue

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

        @pareshbhatiya Place order is working fine. Please cross check the API key in your header for place order.

        P 1 Reply Last reply Reply Quote 0
        • P
          PareshBhatiya @admin last edited by

          @admin Same API Key and auth token is working fine for other API like get order status and other. only getting error in place order.

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