Navigation

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

    gig_baniya

    @gig_baniya

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

    gig_baniya Unfollow Follow

    Latest posts made by gig_baniya

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

      Please provide access for JANAK304

      posted in General Discussion
      G
      gig_baniya
    • 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
      G
      gig_baniya