I get "Response 500" when I try to add 5000 variable products or 1480 simple products via Python Woocommerce Rest API. I suppose the problem lies in timeout but I need help. I don't know how to fix this.
Also error log shows these kind of messages in root folder:
[14-Sep-2022 23:18:00 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home2/XXXXX/XXXXXX/wp-includes/class-wp-block-parser.php on line 417
[14-Sep-2022 23:18:00 UTC] PHP Warning: strlen() expects parameter 1 to be string, array given in /home2/XXXXX/XXXXXX/wp-includes/class-wp-block-parser.php on line 489