Skip to content

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

@fflores97

Description

@fflores97

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions