Skip to content

Python grpc.aio metadata is transformed to list #2509

Closed

Description

@kindermax

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.35.0

Steps to Reproduce

Hi, in latest sentry-sdk release a new Client interceptor was added for grpc.aio client. The problems is that metadata is transformed into a list and it breaks all subsequent interceptors which expect metadata to be grpc.aio.Metadata object (https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_interceptor.py#L93C14-L93C14)

Expected Result

Maybe metadata needs to be preserved as type grpc.aio.Metadata

Actual Result

For now i see error that metadata is a list
image

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Nov 15, 2023
  2. sentrivana commented on Nov 15, 2023

    @sentrivana
    Collaborator

    Thank you for reporting this @kindermax! We'll take a look.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Nov 15, 2023
  4. added 3 commits that reference this issue on Jun 26, 2024
    a051186
    451ade7
    c8fc77d
  5. added
    Triaged
    on Jul 15, 2024
  6. added a commit that references this issue on Dec 5, 2024
    50ad148
  7. ghost added on Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIntegration: gRPCTriaged

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions