Historical Api call give response 500 /history

{'code': '500', 'data': JSONDecodeError('Expecting value: line 1 column 1 (char 0)')}

Hey @91mhO1ip5X ,

Could you please DM use the code snippet used to hit the API , Also could you please try running the sample code for the History API and check once
https://myapi.fyers.in/docsv3#tag/Postback-(Webhooks)/3.-Response

fyers = fyersModel.FyersModel(token=access_token, is_async=is_async, log_path=log_path, client_id=appId)

    # Setting the AccessToken
    fyers.token = access_token

    ## uncomment the any of the following requests to send a particular request and get the required data

    data = {
    "symbol":"NSE:TATAMOTORS-EQ",
    "resolution":"120",
    "date_format":1,
    "range_from":"2025-01-01",
    "range_to":"2025-02-01",
    "cont_flag":1
    }
    response = fyers.history(data=data)
    print(response)