What am I missing here, whenever I try to call this function fetchSearchNFTs function, I get the network response: ācodeā:141,āerrorā:āorganizationId xxxxx does not have permissons for the null or is blockedā
Iāve provided a trimmed down version of my code, highlighting the relevant bits:
searchModal.ts
import React from 'react';
import { useMoralisWeb3Api } from 'react-moralis';
const Web3Api = useMoralisWeb3Api();
const fetchSearchNFTs = async () => {
const NFTs = await Web3Api.token.searchNFTs({
chain: 'eth',
q: 'bored',
filter: 'name',
});
console.log(NFTs);
};
App.tsx
import { MoralisProvider } from 'react-moralis';
function App({ Component, pageProps }: AppProps) {
return (
<MoralisProvider
serverUrl="xxxxxxxx"
appId="xxxxxx"
>
<>
<SearchModal isOpen={true} />
<Component {...pageProps} />
</>
</MoralisProvider>
);
}
Any help would be much appreciated, thanks!