Firebase permission denied even when authenticated

I have a basic database with these rules

{
  "rules": {
    "users": {
      "$uid": {
        ".write": "$uid === auth.uid",
        ".read": "$uid === auth.uid"
      }
    }
  }
}

I try reading from the database path /users/+storageuid

const storageuid = localStorage.getItem("uid");
export const testCall = ()=>{
    
    const dbRef = ref(getDatabase());
    const path = "/users/"+storageuid;
    
    get(child(dbRef, path)).then((snaphot) => {
        if (snapshot.exists()) {
            console.log(snapshot);
        } else {

        }
    }).catch((error) => {
        console.log(error);
    });
}

Where storageuid is my authentication uid after google signin. I place it in localstorage.setItem(“uid”);
And I still get a permission denied..