400 bad request - getAllTokenIds clone opensea error

I followed the opensea tutorial and used the github repository but I’m getting a 400 bad request - getAllTokenIds.

Status 400 Bad Request VersionHTTP/1.1 Transferred756 B (41 B size) Referrer Policystrict-origin-when-cross-origin. I would appreciate any help thanks.

it looks like it didn’t receive the right parameters

The parameters used are from the useNftTokenIds.js file from the opensea github repo:
`import { useMoralisDapp } from “providers/MoralisDappProvider/MoralisDappProvider”;
import { useEffect, useState } from “react”;
import { useMoralisWeb3Api, useMoralisWeb3ApiCall } from “react-moralis”;
import { useIPFS } from “./useIPFS”;

export const useNFTTokenIds = (addr) => {
const { token } = useMoralisWeb3Api();
const { chainId } = useMoralisDapp();
const { resolveLink } = useIPFS();
const [NFTTokenIds, setNFTTokenIds] = useState([]);
const [totalNFTs, setTotalNFTs] = useState();
const [fetchSuccess, setFetchSuccess] = useState(true);
const {
fetch: getNFTTokenIds,
data,
error,
isLoading,
} = useMoralisWeb3ApiCall(token.getAllTokenIds, {
chain: chainId,
address: addr,
limit: 10,
});` Is there something else that I’m missing?

here you can use console.log to see what it the value for those parameters, chainId, addr