Issue to generate Token using https://api.fyers.in/api/v2/token

Hi, I am creating software for trading using fyers API. Currently I got issue to generate token.

authParam = {
                        "fyers_id":FY_ID,
                        "app_id":APP_ID,
                        "redirect_uri":REDIRECT_URI,
                        "appType":APP_TYPE,
                        "code_challenge":"",
                        "state":"None",
                        "scope":"",
                        "nonce":"",
                        "response_type":"code",
                        "create_cookie":True
                    }
 authres = ses.post('https://api.fyers.in/api/v2/token',json=authParam).json()


this is code. Please help me out.

6 replies