Skip to content

Cannot implicitly convert type Google.Analytics.Data.V1Beta.RunReportResponse to Google.Api.Gax.PagedEnumerable #8

Description

@arnold-overby-SIM

Trying to build this from fresh clone results in error "The type or namespace PagedEnumerable<> could not be found."

Adding "using Google.Api.Gax" resolves that, but then results in build error:

Cannot implicitly convert type Google.Analytics.Data.V1Beta.RunReportResponse to Google.Api.Gax.PagedEnumerable<Google.Analytics.Data.V1Beta.RunReportResponse,Google.Analytics.Data.V1Beta.DimensionHeader>

Activity

  1. SanderHexadot commented on Aug 4, 2021

    @SanderHexadot

    Have the same issue

  2. surferjeff commented on Oct 25, 2021

    @surferjeff
    Contributor

    Me too.

  3. surferjeff commented on Oct 25, 2021

    @surferjeff
    Contributor

    And even when I fix the code so that it runs, I see this error:

    RpcException: Status(StatusCode="InvalidArgument", Detail="property must be in the form `properties/1234` where `1234` is an GA4 property Id. Instead, the API received property = property/26[redacted]30 To learn more about Property ID, see https://developers.google.com/analytics/devguides/reporting/data/v1/property-id.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1635129070.133087000","description":"Error received from peer ipv6:[2607:f8b0:4005:80c::200a]:443","file":"/tmpfs/src/github/grpc/workspace_csharp_ext_macos_x64/src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"property must be in the form `properties/1234` where `1234` is an GA4 property Id. Instead, the API received property = property/26[redacted]30 To learn more about Property ID, see https://developers.google.com/analytics/devguides/reporting/data/v1/property-id.","grpc_status":3}")
    

    I followed the instructions in the error message and visited https://developers.google.com/analytics/devguides/reporting and confirmed my property id is numeric.

  4. added a commit that references this issue on Oct 26, 2021
  5. added a commit that references this issue on Oct 28, 2021
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions