Get 401 error when trying to extract image URL

I have uploaded an image to infura, and was able to see the image path under MY PINNED CONTENT.

Now I want to extract the correct image URL by making a usual get request.

async function getImageUrl(object) {
  console.log('🛰  Get image url...');

  const ipfsResult =  ipfs.get(`${object}`);


  // return await axios.get(`${ipfsImagePath}`);

But get this error

Hi @Tony_Seng, how do you create the ipfsClient? Do you include an auth header that’s constructed OK? See: Make requests - Infura Docs