Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error - Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0) #303

Open
ramnish82 opened this issue Nov 15, 2024 · 1 comment

Comments

@ramnish82
Copy link

  • 5paisa Python SDK version: Latest
  • Python version: Latest
  • Operating System: Windows 11

Hi,

When I try to login using the API and the trying to call client.get_totp_session I am getting below error:

"Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)"

post this if I try to call any other API, i keep getting the message "please login first"

Not able to understand the problem.

Please help

@kamalakarkale
Copy link

Any update here. I am also getting same error while placing orders for derivative segment.

TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants