Thanks for the response, the issue has been resolved.
had to pass the namespace in PineconeStore.fromExistingIndex.