I implemented userroles recipe, in that getting e...
# support-questions-legacy
d
I implemented userroles recipe, in that getting error.
r
hey @dhruv_vavliya
is init being called before the use of the function for sure?
d
yeah i checked, initalization done successfully.
error coming while calling createnewrole function
r
can you do a log right before and after the init call + a log right before calling the function from userroles recipe?
Whats the logging order?
d
this is my initilization function
r
is there an error stack?
d
error stack mean?
r
so you are doing
log.Error(err)
. The
err
object will contain a stacktrace
do you have the stack trace?
d
no
r
right. Can you open an issue about this in our golang repo? Will will have a look soon. Until then, you can query the API for the core directly (the curl command for this is shown in the docs as well)
and @sattvikc can help out
d
Okay.
error solved.
r
oh nice. What was the issue?
d
thanks for your time. some errors were in initialization.
r
i see.
d
because i am running two supertokens on same db for admin and user both
3 Views