'str' object has no attribute 'getProfile'

I’m facing this issue, getting below error. Kindly help me on this. As I know it’s issue due to

API_KEY = ‘xxxxx’
angelOne = SmartConnect(api_key=API_KEY)

‘str’ object has no attribute ‘getProfile’

If I want to use ‘angelOne’ (smartConnect) at multiple places so how can I use it. I tried multiple things but it’s giving error always.

Hi @imrose.panchal Welcome to the Community! Can you please share your client ID along with the screenshot of this error? We’ll get this looked into.

Hi @imrose.panchal We are awaiting your response here, can you please share your client code so that we can get this looked into?