Why does this happen please ?

| [Translation API] Invalid language code, please check that it is valid and try again (to: en, from: en)

(13:38:33) | [Translation API] Invalid language code, please check that it is valid and try again (to: en, from: fr)

I have microsoft paid api set up