it looks like an error specific to a transfer, it could depend on the chain also, I donāt remember now a solution, it should be related to the gas price
Hi. How did you manage to self host the server ? Iād like to do the same with the ethereum react native boilerplate but I donāt know where to start
Hi there,
I setup a self hosted moralis server, incl. Dashboard and SSL, and everything looks fine.
I want to use the server instance for e.g. authentication. When my client call the endpoint, I get a āpermission deniedā error.
How to setup these? Especially also the Moralis apiKey and appId?
Every hint is welcomed.
Thanks,
Ali
What endpoint is called when you get that error?
POST on server/functions/getPluginSpecs
Response 403 Forbidden: {error: āunauthorizedā}
That usually means that you are not using latest version of Moralis v1 sdk.
Ok, getPluginSpecs works now.
What did I change: the appId is no in sync with the Client and Server.
But now I get the same error when calling
POST sol-getNFTs
Response 403 Forbidden: {error: āunauthorizedā}
And I do realise that the āmessage signingā window doesnāt get fired up.
Anyone any idea?
Thanks!
It should be the same issue with the app id missing. You have latest version of v1 sdk?
I have followed instructions in the video but when I authorize with Metamask it gives me an error āMoralis auth failed, invalid dataā. What is wrong?
yes, I do have the latest version v1 of the sdk
Very strange,
I donāt set the responseType in my code, but itās usedā¦ how?
Without the responseType it works, when I use the Dashboard.
the responseType should not be the issue, is there an application is sent in that request?
Unfortunately the server says otherwise:
Iām using this endpoint: functions/sol-getNFTs, so just address and network
you could try to call that cloud function directly only with some parameters
probably the sdk somewhere in code, you can call that cloud function directly equivalent with that web3api call
OK, tried to call it manually:
Am I the only one?
what url gave that 403 error there?