Skip to content

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

Description

@ramnish82
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions