The billing account for the owning project is disabled in state absent (firebase)

I’m trying to upload an image to firebase but I’m getting this error:

ApiError: The billing account for the owning project is disabled in state absent

I connected the project to a billing account in google cloud console

    admin
     .storage()
     .bucket()
     .upload(image.path, {
       contentType: image.mimetype,
       gzip: true,
     })
  .then((g) => {
    console.log(g);
  })