400 Bad Request means your code json invalid something missing wrong in csv file. Required fields of contacts: firstname,lastname,email Company : country,name, phone
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Even adding lastname for contact and name for company objects, I am getting same error.
It seems like something is up with the bulk import especially with api-key, I have tried to import only one object with contacts-basicApi and it works but not with the coreApi