Roblox open cloud error

Hi, im trying to get a datastore in node.js but its returning 401
i really wanna know how to use get and set thanks

async function getAsync(key, name) {
  const res = await axios.get(
    `https://apis.roblox.com/datastores/v1/universes/${universeid}/standard-datastores/datastore/entries/entry`,
    {
      params: {
        datastorename: name,
        entryKey: key
      },
      headers: {
        "x-api-key": key
      }
    }
  );
  const text = await res.text()
  
  console.log(text)
  return res
}

entryKey and x-api-key are not the same values. x-api-key, hence the name, is the api key of your application. On the other hand, entryKey is the key of the data you want to retrieve.

The issue is occuring because you’re providing an incorrect authentication key.
image

i noticed the error now i used the same const as the key and the entrykey