Connecting Upstox SANDBOX first time to generate auth code

I am trying to connect sandbox and ran below sample code just to test the environment.

client_id = ‘My_Sand_Box_Client_id’

client_secret = ‘********’

redirect_uri = “http://localhost:8080/callback

#url = f"https://api-sandbox.upstox.com/v2/login/authorization/dialog?response_type=code&clint_id={client_id}&redirect_uri={redirect_uri}"

#print(url)

#import webbrowser

webbrowser.open(url)

This code is always return the UCC error.

{"status":"error","errors":[{"errorCode":"","message":"Required request parameter 'ucc' for method parameter type String is not present","propertyPath":"ucc","invalidValue":null,"error_code":"","property_path":"ucc","invalid_value":null}]}

Later i added ucc in the URL as well (which is my user id) but the result is same. I am kind of stucjk here to further execute any query. Please Help me. Thanks

@ADITYA_22295039