Hello,
What is the complete error message? Try to test the connection from the Microsoft translation configuration in AEM.
There are a few reasons for 400 according to doc https://docs.microsoft.com/en-gb/azure/cognitive-services/translator/reference/v3-0-refere nce#errors.
This might be helpful in understanding what might be wrong in this case.