This is what I use for App initialization
And I when I manually sign in, it starts to work.
Alternatively you can try to make a request with axios to get that info when the user is not authenticated. You can look in network tab to see the parameters and skip the session id that is specific to an authenticated user
Hi there, i think it should be an easy thing to patch for the team, we will get back!
Thanks, please inform when fixed <3
Any news on this? This issue still exists.
we have a PR ready for this fix, you can also use this solution meanwhile:
now you can also use to SDK v1.12.0
Canโt seem to find any SDK with v1.12.0, could please provide more info.
this was the PR
Updated the SDK but for some reason the same issue still persists.
The error only exists when I use the local Moralis server.
It seems to work when fetching data from DB, but stops working when I call a function like getTokenIdMetadata.
The second I switch back to the remotely hosted server, everything starts working again.
Did you thy that patch to add that app id?
Faced way to many errors trying to setup express. Too many changed required to make that patch work for me.
You only have to change in a file locally
Get the error 'app' is not defined
. What am I doing wrong here? Followed the exact instructions from the patch.
I think that you have to add server side that code, where you will find a similar code already
If you look in network tab for the payload of that request do you see the app id there?
Some do, some donโt. Even those that do, return empty.
Would it be possible, to DM you the API details, so you could troubleshoot yourself? We really need this fixed fast.