Skip to content

TasksAPI parameters not mapped correctly #286

@ksks88

Description

@ksks88

When calling TasksAPI methods FindTasksByOrganizationIdAsync(3a123378483afd33) or FindTasksByOrganizationAsync(organization) I get following error:

InfluxDB.Client.Core.Exceptions.BadRequestException: 'failed to decode request: organization name "3a123378483afd33" not found'

Expected behavior:
I expect to get list of tasks.

Actual behavior:
Methods throw exception. Also if I pass Organization name to method FindTaskByOrganizationId i get list of tasks.

Specifications:

  • Client Version: 3.3.0
  • InfluxDB Version: 2.1.1
  • Platform: Win

I couldn't find similar issue if this one is adressed please close.
Thanks,
Salih

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions