There can be two scenarios where you will get this error code: AFDSB2009 while adding the funds. These are:
1) If you’ve recently opened your Upstox account, please wait for 24-48 hours before trying to add funds into your Upstox account as we need some time to get your account activated at our end.
Refer to the link to know different ways of fund transfer to the Upstox account.
2) As per the Exchange guidelines if you have not placed any transactions in the past 12 months your account will be marked as dormant.
If you want to add funds to a dormant account, you will need to re-activate your account first and then try to add funds to it.
Refer to the link to know different ways of fund transfer to the Upstox account.
Related Article:
How much funds I can add & withdraw from an Upstox account?
What charges will be applicable if I add/withdraw the funds from the Upstox account?