Skip to main content
Question

openAI API return error : cannot read property 'FormData'

  • January 15, 2023
  • 2 replies
  • 509 views

Xavier_B

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

This topic has been closed for replies.

2 replies

tchan
  • March 29, 2023

getting the same error- did you ever figure this out? I think it may be the figma electron app not using formdata?


Blake_Hunsicker

Same. Any luck?