# HubDB API V3 python

**URL:** <https://community.hubspot.com/t/hubdb-api-v3-python/71717>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [December 22, 2022, 9:42am UTC](https://community.hubspot.com/t/hubdb-api-v3-python/71717 "2022-12-22T09:42:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TNesMyhre](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@TNesMyhre](https://community.hubspot.com/u/TNesMyhre)\
**Post date:** [December 22, 2022, 9:42am UTC](https://community.hubspot.com/t/hubdb-api-v3-python/71717/1 "2022-12-22T09:42:30Z")

</div>

I am having some issues with the HubDB , I keep running into a typeerror, the code is the following error:

TypeError: RowsBatchApi.batch\_create\_draft\_table\_rows() missing 1 required positional argument: ‘batch\_input\_hub\_db\_table\_row\_v3\_request’ , but I cannot see what argument I am missing

```lia-code-sample
batch_input_hub_db_table_row_v_3_request = BatchInputHubDbTableRowV3Request(inputs=[{"values":{"text_column":"sample text value"}}])
try:
 api_response = client.cms.hubdb.rows_batch_api.batch_create_draft_table_rows(table_id_or_name=“4708328", batch_input_hub_db_table_row_v_3_request=batch_input_hub_db_table_row_v_3_request)
 pprint(api_response)
except ApiException as e:
 print(“Exception when calling rows_batch_api->batch_create_draft_table_rows: %s\n” % e)
The error message is: TypeError: RowsBatchApi.batch_create_draft_table_rows() missing 1 required positional argument: ‘batch_input_hub_db_table_row_v3_request’ 

```

The table I am writing to is very simple, it has the following columns:

ID

PAGE TITLE

PAGE PATH

CHILD TABLE

TEXT COLUMN

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [January 4, 2023, 9:22am UTC](https://community.hubspot.com/t/hubdb-api-v3-python/71717/2 "2023-01-04T09:22:06Z")

</div>

Hi @TNesMyhre

Thank you for reaching out.

I want to tag some of our experts here - @ChrisoKlepke @taran42 @JBeatty do you have any thoughts for @TNesMyhre on this?

Thank you!

Best

Tiphaine
