Trying with the standard documentation upsert command example. I was able to create an index no problem so my credentials are fine.
PineconeClient: Error calling upsert: PineconeClient: Error calling upsertRaw: ResponseError: Response returned an error code
Thrown at:
at loadESM (node:internal/process/esm_loader:100:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)