Rest api with rabc(yii2 admin)

I implement rbac in rest api now my problem is I m implementing rbac with dbmanager so how to handle 403 error.