Getting error 429: Bad Request

when calling fyers.history function, I’m repeatedly getting an error since morning. However my code was working fine yesterday. please check

from fyers_apiv3 import fyersModel

fyers = fyersModel.FyersModel(client_id=client_id, is_async=False, token=access_token, log_path=“”)

data = {

“symbol”:“NSE:SBIN-EQ”,

“resolution”:“D”,

“date_format”:“0”,

“range_from”:“1690895316”,

“range_to”:“1691068173”,

“cont_flag”:“1”

}

response = fyers.history(data=data)

print(response)

{'s': 'error', 'code': 429, 'message': 'Bad request'}

Hi @archit99garg-03k
Looks you crossed the daily limit .
Please check by hitting other API. (Order placement you hit)

How do I hit the other API? Shall I use a different APP ID?

No, In same APP you can hit other API.

Do we need to create other API in Fyers web?