Skip to content

The batch item wasn't processed successfully because: __init__() got an unexpected keyword argument 'method_whitelist' #579

@ronytigo

Description

@ronytigo

Specifications

  • Client Version: 1.24.0
  • InfluxDB Version: 2.4
  • Platform: python:3.9.13 docker container

Code sample to reproduce problem

points = ['mes,item=4432,name=n val=-8i 1685395248425443, 'mes,item=4432,name=n val=-19i 1685395248434435']
rite_api.write('bucket', 'org', points, write_precision=WritePrecision.US)

Expected behavior

write to influxdb

Actual behavior

2023-05-29 21:20:49,555 - influxdb_client.client.write_api - ERROR - 539 - write_api.py - The batch item wasn't processed successfully because: init() got an unexpected keyword argument 'method_whitelist'
2023-05-29 21:20:49,556 - influxdb - ERROR - 84 - init.py - Cannot write batch: ...

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions