Erorr occurs when ipfs add

Hello Everyone.
I added metadata using ipfs, but an ERROR occurred.

const ipfsClient = require(“ipfs-http-client”);
const ipfs = ipfsClient({
host: “”,
port: 5001,
protocol: “https”,

const tokenObject = {
name: Epic NFT token,
image: “”,
description: This is NFT token
const cid = await ipfs.add(JSON.stringify(tokenObject));


Please help me.
Thank you.

hi @Sunlight, have you tried increasing the timeout ?