Skip to main content
Question

openAI API return error : cannot read property 'FormData'

  • January 15, 2023
  • 2 replies
  • 481 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

2 replies

tchan
  • 3 replies
  • 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?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings