openAI API return error : cannot read property 'FormData'

Hello,

I try to create my first plugin.
I would like use openAI API, but the request return this error :

cannot read property 'FormData'

If I try outside the plugin (in the nodejs app or with Postman), it’s work.

Anyone know where the problem comes from?
Thanks