pinecone-io / go-pinecone

Pinecone.io Golang Client
Apache License 2.0
49 stars 9 forks source link

[Bug] Missing content-type header in gRPC calls #78

Open fflores97 opened 1 month ago

fflores97 commented 1 month ago

Is this a new bug? In other words: Is this an error, flaw, failure or fault? Please search Github issues and check our Community Forum to see if someone has already reported the bug you encountered.

If this is a request for help or troubleshooting code in your own Pinecone project, please join the Pinecone Community Forum.

Describe the bug

When upserting vectors, I get the following error:

rpc error: code = Unknown desc = malformed header: missing HTTP content-type

I have tried also adding a content-type header when creating the client with no results. I haven't tried other data plane (gRPC) functionality. I could only find one post on the community forums with the same error, but they're using grpcurl and it has no replies.

Environment

Additional context I also encountered this error with previous versions of the SDK

anawishnoff commented 1 month ago

Thanks fro reporting! @austin-denoble Can you please take a look?

austin-denoble commented 1 month ago

Hi @fflores97, would you be able to provide any additional details or a code sample of how you're going about upserting vectors, and is this a consistent issue you're running into every time you try and upsert to an index?

We have seen this error before, but normally when trying to upsert to an index that is not in a Ready state. Are you able to verify that your index is ready through the DescribeIndex call?

pprieto-kodexai commented 1 month ago

I'm also seeing this when querying an pod based Index.