I often get this error. please fix this

Request failed to reach Pinecone. This can occur for reasons such as network problems that prevent the request from being completed, or a Pinecone API outage. Check your network connection, and visit https://status.pinecone.io/ to see whether any outages are ongoing.

await pc.createIndexForModel({

  name: indexName,

  cloud: "aws",

  region: "us-east-1",

  embed: {

    model: "llama-text-embed-v2",

    fieldMap: {

      text: "text",

    },

  },

  waitUntilReady: true,

});

Can you share where you are running your code from? As the error message says, it looks like the request isn’t even getting to Pinecone (and we haven’t had any recent outages) so it would appear that there is something blocking your network.

Also, with asynchronous requests, it’s possible that your application is holding on to the operation for too long and it gets cancelled before it gets sent.

Please open a support ticket so we can look into this further for your specific organisation.