Navigation

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

    Order Placement APIs throwing error

    Python SDK
    0
    4
    42
    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
      vivekjha05 last edited by

      I am getting below error while placing orders through API:

      'TypeError' object has no attribute 'message'

      Strangely, the orders are also not going through Sensibull, which I assume would be using APIs as well. Has anyone else faced this issue?

      @admin

      V 1 Reply Last reply Reply Quote 0
      • V
        vivekjha05 @vivekjha05 last edited by

        @vivekjha05 Further to this, the order placement API works fine on the local system, but is failing on the AWS

        V 1 Reply Last reply Reply Quote 0
        • V
          vivekjha05 @vivekjha05 last edited by

          @vivekjha05 To fix this, I regenerated the Loginobject and it is working fine, but I am surprised as to why this would fail, while everything else was working fine!

          1 Reply Last reply Reply Quote 0
          • L
            laxm last edited by

            Hi @vivekjha05 @admin

            I'm facing the same issue from many days. When the order placement condition is met and places the order it fails with error "'None Type' object is not subscriptable" and "'TypeError object has no attribute 'message'". But when I restart it goes fine with no changes.
            If you find a solution to these, please share.
            Reported this error on this forum and followed up many times. But @admin and the support team never responded back.

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