Skip to content

Commit 4d0a761

Browse files
author
Lingling Peng
committed
add comment to explain the error
1 parent f973cf5 commit 4d0a761

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

synapseclient/models/curation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,6 +2101,8 @@ async def main():
21012101
preview_response = await upload_to_table_preview.send_job_and_wait_async(
21022102
timeout=timeout
21032103
)
2104+
# ROW_ID and ROW_VERSION must be prepended to the schema to avoid:
2105+
# SynapseHTTPError: 400 Client Error: The CSV header does not match the schema size.
21042106
all_columns = [
21052107
Column(name="ROW_ID", column_type=ColumnType.STRING),
21062108
Column(name="ROW_VERSION", column_type=ColumnType.STRING),

0 commit comments

Comments
 (0)