Does the api not work when account is dormant?

The API shows active and I just recognised that the account has gone dormant.

Does the api access not work when account is dormant, but api still shows active? First time for me trying to connect and use the API. I’m receiving the following response.

response: {‘code’: -403, ‘message’: ‘You do not have permission to access this application’, ‘s’: ‘error’}

Hi @115408769446952893084,

Please reactivate your account by visiting the profile section: https://app.fyers.in/profile

Currently, there are no restrictions on accessing the API for dormant accounts.

The 403 error indicates a permission-related issue. Kindly ensure all necessary permissions are granted while authorizing the app, you should be able to access it without issues.

all necessary permissions are granted while authorising the app.

i got the auth code, and then generated access token and refresh token

set the access token and api id as part of the fyersModel.FyersModel call.

And then it leads to this error.

Can you please once let me know if it’s sure that if account isn’t active the API would still be accessible and work?

Kindly share your Client ID or contact details via DM so we can get in touch with you.

We would also appreciate it if you could clarify the reason for trying to access the FYERS API without reactivating your dormant account.

After following all the steps as laid out in the app API docs, I’m still getting the same issue.

I have applied for reactivation yesterday, submitted all the re-kyc docs. I want to setup the API usage before re-starting the usage of brokerage services. Right now trying to build a frontend and backend for my trading and analytics process. Been trading US markets via a prop firm till last year end. Starting with indian market now.

@naresh_janagama @pathi_rahul @WWhYB2qrsx please help Shravan here and get his issue resolved.

Hey @115408769446952893084,

Thank you for sharing your contact details via DM. Our team will assist you further.

Hi @115408769446952893084,
As per your confirmation on call, your concern has been addressed. Please feel free to reach out if you have any further queries. Thank you

the issue is simple. until i gave all the permissions (including trade and account related permissions) to the app, i wasn’t able to access historical data. i don’t know what kind of issue it was, even after account re-activation the issue persisted.

So please check it at your end, there must be other users who would go through this as well.

Thanks Shravan, to access the historical data, all permissions need to be enabled. Noted this as feedback.