Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
fflores97 opened this issue Sep 30, 2024 · 4 comments
Open
2 tasks done

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

fflores97 opened this issue Sep 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@fflores97
Copy link

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.

  • I believe this is a new bug
  • I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug

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

  • OS Version: MacOS 14.5
  • Go version: 1.22.3
  • Go SDK version: 1.1.1

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

@fflores97 fflores97 added the bug Something isn't working label Sep 30, 2024
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Sep 30, 2024
@anawishnoff anawishnoff removed the status:needs-triage An issue that needs to be triaged by the Pinecone team label Oct 1, 2024
@anawishnoff
Copy link
Contributor

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

@austin-denoble
Copy link
Contributor

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
Copy link

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

@pprieto-kodexai
Copy link

This was happening when passing a query vector with wrong dimensions. If this is the real root cause, could it be solved with some validation or an error message that points to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants