How to fix this error
//setting moralis
REACT_APP_MORALIS_APPLICATION_ID = “VvHS4AuWP8LqTzM0uFOrk50FlgWeJbMqt73bab3j”
REACT_APP_SERVER_URL = “https://ajam9m7mw5gd.usemoralis.com:2053/server”
//call getNFTsForContract function
const nfts = async () => {
console.log(account)
console.log(ContractAddressByRinkeby)
const options = {
chain: "ropsten",
address: account,
token_address: ContractAddressByRinkeby,
};
console.log(account, ContractAddressByRinkeby)
console.log("---moralis---->")
const result = await Web3Api.account.getNFTsForContract(options);
console.log("result-->", result);
return result
}
////////////////////////
But it shows this error.
—moralis---->
xhr.js:210 POST https://ajam9m7mw5gd.usemoralis.com:2053/server/functions/getNFTsForContract net::ERR_CONNECTION_TIMED_OUT
createError.js:16 Uncaught (in promise) Error: Network Error
at createError (createError.js:16:1)
at XMLHttpRequest.handleError (xhr.js:117:1)
///////////// what’s wrong with it?
Please help me asap.
Thanks. John