I most definately need help here. I am trying to use the new "@payloadcms/storage-gcs" and I am bit confused with the setup. I do everything as per the books but I am still getting errors.
Here is my configs
plugins: [
gcsStorage({
collections: {
["media"]: true,
},
bucket: process.env.GCS_BUCKET || "",
options: {
projectId: config.project_id,
credentials: {
type: config.type,
project_id: config.project_id,
private_key: config.private_key,
private_key_id: config.private_key_id,
},
},
acl: "Public",
}),
],
Am I missing something.
I am getting the error (screenshot)