Regarding session issue
Getting infinte session api calls,
url is:https://api.novu.co/v1/inbox/session
i'm not calling this kind of api in my code.
it is calling from sdk in infinte.
can you please provide me the solution.

12 Replies
@akash
You must be using inbox or initializing the session in useEffect
Can you share your code implementation
I am using only 2 hooks provided by novu, one is useNotification and second is useCount
This session api is calling infinite on its own
@akash
Can you share your code implementation?
Yes, i am sharing it, please let me know if i am missing something
@Pawan Jain do you need any guide in code ? Please let me know.
@Pawan Jain ??
@akash this code is enough for the time being, it's also connected to the rate limiting you are getting in the other thread you opened
Okay
@akash what novu/react version are you using?
18.2.0
@akash, you just advanced to level 3!
@akash
Looks like your above code has your custom components which is making it a bit difficult to debug.
I reached out to you in DM requesting for screen sharinfg session, but you denied.
So now only possible way for us to debug is if you can share github repo with minimal code so that we can reproduce the issue.
Please make sure, github repo has minimal code and does not have custom components