Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. mg25
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    mg25

    @mg25

    0
    Reputation
    2
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    mg25 Follow

    Best posts made by mg25

    This user hasn't posted anything yet.

    Latest posts made by mg25

    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      Please provide access for JANAK304

      posted in General Discussion
      M
      mg25
    • NameError: name 'true' is not defined

      I am trying to connect to the api through python. Currently I am getting NameError with folloiwng message. Is there a bug?

      ~\Anaconda3\envs\angel1\lib\site-packages\smartapi\smartConnect.py in generateSession(self, clientCode, password)
      242 loginResultObject=self._postRequest("api.login",params)
      243
      --> 244 if loginResultObject['status']==True or true:
      245 jwtToken=loginResultObject['data']['jwtToken']
      246 self.setAccessToken(jwtToken)

      NameError: name 'true' is not defined

      posted in Python SDK
      M
      mg25