Recently I'm working on a project to load dataframe into BigQuery, using this method in "Load data from DataFrame guide"
However, while running this function:
job = client.load_table_from_dataframe(file_data, table_ref, job_config=job_config)
This error occurs:
InternalServerError: 500 POST unknown error
I've checked the parameters, table_ref consists of project_id.dataset_name.table_name
And the job_config consists of the required schema, I'm not sure what else I'm missing here.
Can anyone give me some advice about this issue?
Thanks a lot!