Navigation

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

    AG8004 Invalid API Key on getCandleData/getLtpData, login works fine

    Bugs
    1
    1
    4
    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.
    • V
      vmustufa last edited by

      Getting {"success":false,"message":"Invalid API Key","errorCode":"AG8004","data":""} on both getCandleData and getLtpData. loginByPassword and getProfile both succeed with the same API key. I've verified my request headers match the official smartapi-python SDK exactly (Content-Type, X-UserType, X-SourceID, X-ClientLocalIP, X-ClientPublicIP, X-MACAddress, X-PrivateKey, Authorization). My dashboard only shows one API Type ("Trading") with no option to add Historical Data/Market Feed separately. Is there a separate activation step needed for historical/quote data access, or something else I'm missing?

      Client ID: M79171

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