Streamlit authenticator error

Hi I am facing an error in streamlit_authenticator error for below code line

‘’’

Authentication

name, authentication_status, username = authenticator.login("Login", "main")

‘’’

ValueError: Location must be one of ‘main’ or ‘sidebar’ or ‘unrendered’

Python 3.13.2, streamlit-authenticator 0.3.1

Can you please help me to debug the issue