NFTOwners beforesave function failing after update

That is what is only returning from your function with added URL Logging.“error”);;;

  1. 2021-10-19T07:32:37.130Z -
  2. 2021-10-19T07:32:37.130Z -
  3. 2021-10-19T07:36:24.338Z -
  4. 2021-10-19T07:36:24.337Z - error

I doesn’t look good, can you paste the function that you use now?

function httpGet2(url) {
	return Moralis.Cloud.httpRequest({
		"url": url,
		"headers": {
			'method': 'GET',
			'accept': 'application/json'

1 Like
async function httpGet2(url) {
  return await Moralis.Cloud.httpRequest({
    url: url,
    headers: {
      method: "GET",
      accept: "application/json",
    .then((httpResponse) =>
    .catch((error) =>;

this doesn’t fail but I see on the console balance is confirmed of the newly created NFT however it’s still in pending table even after confirmation. I’ve tried few times already with same result for some reason.

are they stuck or are in the “pending” table for too long?

still stuck until now yes it’s been over 1 hour. despite the log showed confirmed balance.

I’ve created a new server which fixed the problems, but it’s worth mentioning if this was an in production website this would have been a disaster.

when you are using local Ganache you have to create a new Moralis dev server every time you start with a new instance of Ganache, because the old Moralis dev server will still keep track of previous transactions from previous Ganache instance and things will not work well (I don’t know if this was your case)

wasn’t using ganache I was on a testnet