Ah, solved it lol.
Context:
• We are inserting lots of data using client.collections(collection_name).documents().import(documents_array);
• We encountered the error "Error: timeout of 2000ms exceeded"
• On the request of the error, the Content-Length is 19135225 (19 MB request body)
Solution: just increase "connectionTimeoutSeconds" value.