user logged out via api

Hello,
I am new to miktrotik so please bare with me,
I am looking for any kind of help
I am trying to set up external radius with my mikrotik RB1100AH. My issue is that the user logs in and logs out imediately.
log file says
user logged in via API
user logged out via API

this happens in the same second.

Does anyone know what could cause this. Is it a firewall rule? a NAT rule? any tips will be appreciated.

Hello kindly elaborate, at which point are you using the api + radius. coz my pov is radius is standalone